Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow enchrichment of only the metadata for affected values / paths of an event #1086

Open
w4tsn opened this issue Jun 11, 2021 · 0 comments

Comments

@w4tsn
Copy link
Contributor

w4tsn commented Jun 11, 2021

Currently when requesting _metadata for e.g. thing modifications with the enrichment feature (?extraFields=_metadata) the whole metadata of a thing is returned, although the messages path and values only comprise a sub-set of the thing.

It should be possible to only request metadata for the effected features and properties.

I suppose it would be reasonable to send as little metadata as possible keeping requests and streams small by default. It then should be possible to request an arbitrary amount of metadata. At least it should be possible to request all metadata, or for a whole thing which will make a good start for this.

Maybe always attaching metadata is desired, that's up for debate I'd say. If not always attaching this we have to think about how to configure this in a request. Wildcard support for the enrichment feature (#710) certainly plays a role here too, since the enrichment wild-cards could also be used for metadata, although I admit I don't yet see how I could define elegantly to only provide metadata for the fields being part of this modification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants