-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Some label attributes have multiple monikers associated to provide convenience aliases. For instance, in the PanCam meta map, both sub_instrument and camera point to .//psa:Sub-Instrument/psa:identifier. Currently, this results multiple KV pairs, which is a bit messy, and which anecdotally increases the threshold for defining aliases.
We could alternatively allow keys to be string tuples.
Pros:
- Only one entry per label attribute; less room for mistakes
- Cleaner communication of the availability of aliases; potentially easier to integrate with documentation
Cons:
- Unclear what order the aliases should be in (though attribute name first seems sensible)
- Loss of static key collision warnings (although this could be covered by a test)
- Need to unpack the source meta map dict at runtime anyway
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request