lightstep-tracer-javascript icon indicating copy to clipboard operation
lightstep-tracer-javascript copied to clipboard

Make and use getters on SpanContext

Open conartist6 opened this issue 5 years ago • 0 comments

This would allow properties of spanContext to be read without accessing private variables. Alternatively, the private variables could simply be made public, though this seems less safe. Also because the "private" variables have thus far been used in a public way, changing them would be a breaking change, where adding new public getters would not be.

conartist6 avatar Feb 24 '20 23:02 conartist6