github graphql-compose/graphql-compose v4.2.0

latest releases: v9.0.11, v9.0.10, v9.0.9...
6 years ago

4.2.0 (2018-04-25)

Bug Fixes

  • package: rename jsm build to esm (665c664)
  • TypeComposer: addResolver() now adds stub resolve property. Properly check instance of Resolver. (c1f51c7)

Features

  • SchemaComposer: add getters for root types (Query, Mutation, Subscription) (ea443fb)
  • TypeComposer: created types via TypeComposer.create() now added to TypeStorage and may be used in SDL by name (b3e28b8)
  • TypeMapper: allow to override built-in JSON, Date and Buffer types (78c9000)
  • JSON: switch own implementation on improved graphql-type-json type, due its popularity and last amazing changes by @benjie (e93379e):

In the following GraphQL schema

type Query {
  jsonIssue(input: JSON): JSON
}

now possible to run the following GraphQL query:

query Foo($myVal: String = "bar") {
  jsonIssue(input: { subfield: $myVal })
}

Don't miss a new graphql-compose release

NewReleases is sending notifications on new releases.