otel4s
otel4s copied to clipboard
Consider making `SpanFinalizer` ADT classes private
The lifecycle management of a span is incapsulated. Unless you implemented a brand new backend, you don't need access to ADT cases.
So, can we make ADT branches, such as SpanFinalizer.RecordException, private?
- final class RecordException
+ private final class RecordException
What do you think @NthPortal?