Skip to content

Milestones

List view

  • No due date
    1/1 issues closed
  • This version is the first reference implementation fully compatible with [GraphQL — April 2016]( https://github.com/facebook/graphql/releases/tag/April2016). In addition to any relevant breaking changes from the spec, it also has made some breaking changes to its API. This also brings `graphql-go` on par with `graphql-js v0.5.0`. Special thanks to all that have contributed to this release. **Breaking:** - Rounding off support for `context`. It is now available for resolving types in `IsTypeOfFn` and `ResolveTypeFn`, similar to `FieldResolveFn`. (https://github.com/graphql-go/graphql/pull/123/commits/1e33c35ba9684a3ca02bf0de8b24688636cd3295) - Directives in schema language: Breaking change to `NewDirective()` API. (https://github.com/graphql-go/graphql/pull/123/commits/2322d258313c9307a838ae7fe1d19e70f57937a1) - Directive location introspection: This deprecates `onField`, `onFragment`, and `onOperation` in favor of `locations` which is a list of `__DirectiveLocation`. (https://github.com/graphql-go/graphql/pull/123/commits/58f2928b94007b502f882eee4a9a1f82dd118603) - Types can now be explicitly provided to `NewSchema(SchemaConfig{Types: [...] })`. Types which implement an interface but are otherwise not referenced as a field return type are no longer automatically added to the `Schema`. Use `SchemaConfig{Type: [..]}` to ensure they are included to the `Schema`. (https://github.com/graphql-go/graphql/pull/123/commits/79f48da704036914912ccfbf60e1aba6d5714ad1) **New:** - Spec compliance: Overlapping fields must have compatible response shapes. (https://github.com/graphql-go/graphql/pull/123/commits/a241e1cac73928a834a7691328c283e413b41661) - More support for the experimental schema IDL. (https://github.com/graphql-go/graphql/pull/123/commits/e23ac77f2b1e34dfeff02469edca600cb54a3b7e) **Fixes:** - Spec compliance: @skip and @include are now commutative. (https://github.com/graphql-go/graphql/pull/123/commits/95bc03226d01fcc996fbc118c7e6c7f9010d6f7a) - Spec compliance: Allow `graphql.Float` to be represented by `float64`. (#133, #130) - Fixed invalid `lexer` tests for parsing `TokenString`. (#138) **Enhancements:** - Improve `lexer` performance by using byte array as source. (#137) - Improved coverage for `lexer` package. (#138) - Additional tests for covering unicode text support. (#138, #135) **API Changes** Previous | New | Risk ---------|-----|------- `NewDirective(*Directive)` | `NewDirective(DirectiveConfig)` | Low-Medium `Abstract.ObjectType(interface{}, ResolveInfo) *Object` | `removed` | Low-Medium `Union.ObjectType(interface{}, ResolveInfo) *Object` | `removed` | Low-Medium `Interface.ObjectType(interface{}, ResolveInfo) *Object` | `removed` | Low-Medium `IsTypeOfFn(interface{}, ResolveInfo)` | `IsTypeOfFn(IsTypeOfParams)` | High `ResolveTypeFn(interface{}, ResolveInfo)` | `ResolveTypeFn(ResolveTypeParams)` | High `ResolveParams.Schema` | `removed`, already available in `ResolveInfo` | Low-Medium

    No due date
    8/8 issues closed
  • No due date
    6/6 issues closed