Skip to content

graphql 0.4.1

New/Breaking:

  • Asserts that the GraphQLSchema and GraphQLType types are properly constructed, following the "validation" rules defined in the GraphQL Spec
    • Asserts that Objects which claim to implement an Interface actually do.
    • Schema asserts that all included types have unique names.
    • Clearer error messages when incorrect type used in GraphQLType constructors, including List and NonNull type constructors.
    • Asserts that Scalar definitions include serialization functions.
    • Removal of the graphql/type/validation submodule.
  • Asserts that the runtime Object type result of an Interface or Union typed field is a type is a possible type of that Interface or Union.
  • EnumType.getValues() now returns an Array.

Fixes:

  • Correctly parse Enum values from variables. #123