We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running tailcall check produces duplicate N + 1 checks:
tailcall check
tailcall --version; tailcall check -n ./main.graphql tailcall v0.129.1 INFO File read: ./.tailcallrc.graphql ... ok INFO File read: ./main.graphql ... ok INFO Config ./main.graphql ... ok INFO N + 1 detected: 2 query { posts { user { posts } } } query { posts { user { posts } } }
schema @server @upstream(batch: { delay: 1 }) { query: Query } type Query { users: [User] @http(url: "https://jsonplaceholder.typicode.com/users") posts: [Post] @http(url: "https://jsonplaceholder.typicode.com/posts") } type User { id: ID! name: String! posts: [Post] @http( url: "https://jsonplaceholder.typicode.com/posts?userId={{.value.id}}" ) } type Post { id: ID! title: String! userId: ID! user: User @http( url: "https://jsonplaceholder.typicode.com/users" query: [{ key: "id", value: "{{.value.userId}}" }] batchKey: ["id"] dedupe: true ) }
The text was updated successfully, but these errors were encountered:
/bounty $200
Sorry, something went wrong.
/attempt #3161
/claim #3161
🙏 Thank you for contributing to tailcallhq/tailcall! 🧐 Checkout our guidelines before you get started. 💵 More about our bounty program.
this is already fixed by #2978
Successfully merging a pull request may close this issue.
Running
tailcall check
produces duplicate N + 1 checks:The text was updated successfully, but these errors were encountered: