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

Enums #4

Closed
everhusk opened this issue Dec 23, 2016 · 1 comment
Closed

Enums #4

everhusk opened this issue Dec 23, 2016 · 1 comment

Comments

@everhusk
Copy link

everhusk commented Dec 23, 2016

Hey, great cheat sheet! Just one typo in the Enum section (STATE should be USER_STATE or vice versa) i.e.

enum USER_STATE {
NOT_FOUND
ACTIVE
INACTIVE
SUSPENDED
}
type Root {
stateForUser(userID: ID!): USER_STATE!
users(state: USER_STATE, limit: Int = 10): [User]
}

sogko added a commit that referenced this issue Jan 27, 2017
Commited previous versions, just because.
@sogko
Copy link
Owner

sogko commented Jan 27, 2017

Hey @everhusk

Thanks for spotting that! Added the changes in 👍

Cheers!

@sogko sogko closed this as completed Jan 27, 2017
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

2 participants