4.2.0 (2018-04-25)
Bug Fixes
- package: rename
jsm
build toesm
(665c664) - TypeComposer:
addResolver()
now adds stubresolve
property. Properly check instance ofResolver
. (c1f51c7)
Features
- SchemaComposer: add getters for root types (
Query
,Mutation
,Subscription
) (ea443fb) - TypeComposer: created types via
TypeComposer.create()
now added toTypeStorage
and may be used in SDL by name (b3e28b8) - TypeMapper: allow to override built-in
JSON
,Date
andBuffer
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 })
}