Skip to content

v0.4.1

Compare
Choose a tag to compare
@leebyron leebyron released this 14 Aug 08:59
· 2857 commits to 16.x.x since this release

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