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

Add GraphQLSchema types field #327

Merged
merged 1 commit into from
Mar 24, 2016
Merged

Add GraphQLSchema types field #327

merged 1 commit into from
Mar 24, 2016

Commits on Mar 24, 2016

  1. Add GraphQLSchema types field

    This is a rebased and updated version of @tgriesser's #199. I further extended it to completely remove the side-effectful mutation of Interface types rather than just deferring that mutation to schema creation time.
    
    This introduces a *breaking* change to the Type System API. Now, any individual Interface type does not have the required information to answer `getPossibleTypes` or `isPossibleType` without knowing the other types in the Schema. These methods were moved to the Schema API, accepting the abstract type as the first parameter.
    
    This also introduces a *breaking* change to the type comparator functions: `isTypeSubTypeOf` and `doTypesOverlap` which now require a Schema as a first argument.
    leebyron committed Mar 24, 2016
    Configuration menu
    Copy the full SHA
    6a1f23e View commit details
    Browse the repository at this point in the history