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
When using the declarative cache, it's possible to specify key arguments with @fieldPolicy:
@fieldPolicy
extend type Query @fieldPolicy(forField: "book", keyArgs: "id")
While this works for fields that return a single object, this doesn't work for fields that return a list (or list of lists, etc..):
type Query { # Doesn't work books(ids: [String!]!) @fieldPolicy(forField: "book", keyArgs: "ids") }
Not 100% sure yet. This will certainly have to cooperate with pagination.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Use case
When using the declarative cache, it's possible to specify key arguments with
@fieldPolicy
:While this works for fields that return a single object, this doesn't work for fields that return a list (or list of lists, etc..):
Describe the solution you'd like
Not 100% sure yet. This will certainly have to cooperate with pagination.
The text was updated successfully, but these errors were encountered: