slashmo / gsoc-swift-baggage-context

BaggageContext library, extracted from slashmo/gsoc-swift-tracing
https://github.com/slashmo/gsoc-swift-tracing
Apache License 2.0
4 stars 2 forks source link

Document anti-patterns #25

Closed ktoso closed 3 years ago

ktoso commented 3 years ago

We should be very very explicit about anti patterns and abusing baggage context.

For example libraries should not depend on "i know that other library will put some value in the baggage and i'll get it out of there".

Keys should normally be internal, not public.

etc.