The tracker currently has a method for setting the Subject after initialisation. This is helpful, because Subject does not appear in the "short" Tracker constructor. It allows us to do this:
val t = Tracker(emitter, "namespace", "appId").setSubject(subject)
It would be helpful if we can use a similar pattern for setting the metadata/context:
val t = Tracker(emitter, "namespace", "appId").setMetadata(selfDescribingJson)
The tracker currently has a method for setting the Subject after initialisation. This is helpful, because Subject does not appear in the "short" Tracker constructor. It allows us to do this:
It would be helpful if we can use a similar pattern for setting the metadata/context: