-
Notifications
You must be signed in to change notification settings - Fork 73
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
Including parent items in arrays #50
Comments
I have same requirement |
Have you guys figured out how to work with this? |
This is a good point. I have a version working, but there is a trick. The map has to have the instruction to create all array nodes first, then to populate, as follows:
This would be a new feature, and it breaks a couple of existing tests. @wankdanker what are your thoughts about this? |
Any updates on this? I am having similar requirement. |
I've fixed it on my own. I've also launched the complete test suite successfully |
Hi @emmartu , i have same requirement, could you share your knowledge, Thank you.
|
Is it possible to include parent items when mapping arrays
For example, if I have:
and I want to convert it to:
I've tried to use a map something like:
But I get:
Obviously the second array element isn't what I want. Presumably I could use a transform, but with more complex examples I would essentially just be mapping using JavaScript
The text was updated successfully, but these errors were encountered: