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

[RFC] Expand GraphQL language #163

Merged
merged 1 commit into from
Aug 31, 2015
Merged

[RFC] Expand GraphQL language #163

merged 1 commit into from
Aug 31, 2015

Commits on Aug 31, 2015

  1. [RFC] Expand GraphQL language

    This proposes merging the schema language into the GraphQL language.
    
    After some time of thinking about this, I believe this is the best path. There is only one "GraphQL language" and thus only one spec for a parser. I believe this will have substantial simplification forces on GraphQL server libs and client tools and the APIs they expose. This also means the validation phase can be designed to accept both "client GraphQL" and "server GraphQL" rather than two separate utilities with two separate AST and rule structures. Instead we're just likely to want to introduce standard rule sets for each environment.
    
    The drawback is explaining the semantics. This diff primarily adds type definition syntax to GraphQL, and it should be made clear that *at present* GraphQL servers do not have semantics for these and in fact will not execute queries which contain them.
    leebyron committed Aug 31, 2015
    Configuration menu
    Copy the full SHA
    73b4d4d View commit details
    Browse the repository at this point in the history