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

Support @skip and @include directives #208

Merged
merged 6 commits into from
Jul 23, 2018
Merged

Commits on Jul 23, 2018

  1. Pass request context through to CollectFields

    Mathew Byrne committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    ebfde10 View commit details
    Browse the repository at this point in the history
  2. Add skip/include directive implementation

    This is a snowflake implementation for skip/include directives based on
    the graphql-js implementation.  Skip takes precedence here.
    Mathew Byrne committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    ea0f821 View commit details
    Browse the repository at this point in the history
  3. Add skip/include test cases

    Adds a set of test cases for skip and include directives to the todo
    example. Also now conforms to spec if both are included.
    Mathew Byrne committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    cbfae3d View commit details
    Browse the repository at this point in the history
  4. Add default value test case

    Mathew Byrne committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    ce17cd9 View commit details
    Browse the repository at this point in the history
  5. Update gqlparser version to include default resolution

    Mathew Byrne committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    c7ff320 View commit details
    Browse the repository at this point in the history
  6. Pass context to CollectFields instead of RequestContext

    Internally it can still get to RequestContext as required.
    Mathew Byrne committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    a69071e View commit details
    Browse the repository at this point in the history