This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
Reverse Automatic Mapping #900
Unanswered
rlopez-plenty
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Could you give an example in terms of data only? The indentation seems somewhat off, so not sure what is intended. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This discussion has been migrated to cue-lang/cue#900. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
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
-
Hello Community!
We want to create a way to take all the mappings between the different objects we have, and automatically generate the inverse mapping of each one. Here is some code and some thoughts about how we think it can work but we still haven't found a way to handle it. Do you have any idea how to resolve this with Cuelang, following this approach or any other idea is welcome. Thanks! (We are using 0.2.2 version)
Here is the sample data:
Note: Indentation is not working properly, you can assume it has just one tab per line.
Beta Was this translation helpful? Give feedback.
All reactions