Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Wrap Span for more scala idiomatic interface #23

Open
yannick-cw opened this issue Apr 27, 2018 · 1 comment
Open

Wrap Span for more scala idiomatic interface #23

yannick-cw opened this issue Apr 27, 2018 · 1 comment

Comments

@yannick-cw
Copy link
Contributor

Span has stuff like addAnnotation, which I'd like to use, but returns unit, should we wrap it in sth. to have a more scala like api, returning the changed span?
Same for the other Span methods
@Sebruck ?

@Sebruck
Copy link
Member

Sebruck commented Apr 27, 2018

The only problem I see is that we might awake false assumptions on the client side. The fluent api then "feels" like it's immutable, but in fact it's not.

But I'd happy to play around a bit and see if we can come up with something useful!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants