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

Scoped Data Context #537

Closed
PascalSenn opened this issue Jan 25, 2019 · 1 comment
Closed

Scoped Data Context #537

PascalSenn opened this issue Jan 25, 2019 · 1 comment
Assignees
Milestone

Comments

@PascalSenn
Copy link
Member

It would be handy to have a way to provide data down a tree.

{
   customer { #customer is an array
             #we would set the customer id at this state
            services {
                      evenDeeper {
                            #and need to access it here
                              systemsOfCustomer
                      }
            }
   }

}
{
   "customer": [
          {
              "id": "x"
              "services" : {
                     "evenDeeper": {
                                   "systemsOfCustomer": //system of customer x
                       }
               }
          },

          {
              "id": "y"
              "services" : {
                     "evenDeeper": {
                                   "systemsOfCustomer":  //system of customer y
                       }
               }
          }

    ]


}```
@michaelstaib
Copy link
Member

This one is now included in 0.7.0-preview.37

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

No branches or pull requests

2 participants