It is meant to be exclusive - just for the core payload key-value pairs. The reason it gets confusing is that you can insert a TrackerPayload as the data component of a SelfDescribing json because it is really just a Map under the hood. We could probably clarify this by:
- Renaming it to something more appropriate like
NonEmptyStringMap
- Removing the ability to pass this object directly into the
SelfDescribingJson
Perhaps there is something around package visibility we should be toggling too...
cc/ Alexander Dean (@alexanderdean)
It is meant to be exclusive - just for the core payload key-value pairs. The reason it gets confusing is that you can insert a TrackerPayload as the data component of a SelfDescribing json because it is really just a Map under the hood. We could probably clarify this by:
NonEmptyStringMapSelfDescribingJsonPerhaps there is something around package visibility we should be toggling too...
cc/ Alexander Dean (@alexanderdean)