Skip to content

Passing args to nested field #2

@loganpowell

Description

@loganpowell

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>")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions