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

Missing 'filter' keyword for operation #3658

Closed
wants to merge 1 commit into from

Conversation

DerekDomino
Copy link

No description provided.

@gatsbybot
Copy link
Collaborator

Deploy preview for gatsbygram ready!

Built with commit ad8ed82

https://deploy-preview-3658--gatsbygram.netlify.com

@calcsam
Copy link
Contributor

calcsam commented Jan 23, 2018

Existing usage is correct -- see eg http://graphql.org/learn/queries/#variables

@calcsam calcsam closed this Jan 23, 2018
@KyleAMathews
Copy link
Contributor

The existing use is correct because the only thing you can do on non-connection types is filter so we don't have a keyword. On connections (e.g. allMarkdownRemark) you can filter, sort, skip, limit. With a non-connection type like markdownRemark, the only thing you can do is select the node you want which is an implicit filter.

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

Successfully merging this pull request may close these issues.

4 participants