meta data: get property owners #48
RebeccaStevens
started this conversation in
Ideas
Replies: 2 comments
-
I can always add more meta data so long as it is pretty universal. Providing the parent objects of the values shouldn't be too hard to do with a custom |
Beta Was this translation helpful? Give feedback.
0 replies
-
I just released 3.0.0-beta.4 which has this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be possible to get some more meta data? Assuming a property value should be set, based on values from other properties. It would be nice to not only get the property values and the property name but also be able to get the property owners.
Example:
I used a function call to get the owners, because otherwise it might not be good for performance if
meta
would always provide the owners array out-of-the-box, instead of only providing it when commanded to do so.Via
metaDataUpdater
a client could also provide the full ancestor chain to the custom merger, if for some reason the client needs that info. Note: In that ancestor chain also arrays could occur (not just plain objects). So when merging something like{arr: [{a: 1}]}
. The ancestors of the inner object would be the array and then the outer object.Originally posted by @NightProgramming in #23 (comment)
Beta Was this translation helpful? Give feedback.
All reactions