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

Passing args to nested field #2

Open
loganpowell opened this issue May 14, 2018 · 0 comments
Open

Passing args to nested field #2

loganpowell opened this issue May 14, 2018 · 0 comments

Comments

@loganpowell
Copy link

Hi! Thank you for putting this together! I think you've hit on something salient here.

I'm exploring graphql-leveler to solve a problem I'm having and was wondering if there was a way to pass args down the path arg. E.g.:

{
  data: {
    some: {
      deeply: {
        nested: {
          field(<args>): "I am nested!"
        }
      }
    }
  }
}

pass args like:

{
  myProperty: _get(path: "some.deeply.nested.field<args>")
}
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

1 participant