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

Does it support cross object batching with different args? #6

Open
akomm opened this issue Jan 23, 2018 · 0 comments
Open

Does it support cross object batching with different args? #6

akomm opened this issue Jan 23, 2018 · 0 comments

Comments

@akomm
Copy link

akomm commented Jan 23, 2018

Example query:

query CrossBatchLoadingQuery { # QueryType
  me { # UserType plural=false
    friends(limit: 5) { # UserType plural=true
      id
    }
  }
  users(limit: 10) { # UserType plural=true
    id
    friends(limit: 4) { # UserType plural=true
      id
    }
  }
}

To batch load cross tree paths you would have to group batching by "type-field-normalized(args)"-identity.

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