Dynamic object keys. #420
Unanswered
JamieClayton7
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a json field that stores a "sales_data" object. This object has keys that reference a "sale_uid" that I wish to be generated by synth. For example:
{ "sale_uids": [ 123, 321, 456 ], "sales_data": { 123: {...}, 321: {...}, 456: {...} } }
Is it possible to generate these dynamic object keys using something similar to the @ ref functionality in same_as?
Beta Was this translation helpful? Give feedback.
All reactions