graphql-php/examples
Daniel Tschinder 27ce24b5fe Fix parsing of default values in build-schema
* Generalizes building a value from an AST, since "scalar" could be misleading, and supporting variable values within custom scalar literals can be valuable.
* Replaces isNullish with isInvalid since `null` is a meaningful value as a result of literal parsing.
* Provide reasonable default version of 'parseLiteral'

ref: 714ee980aa
ref: https://github.com/graphql/graphql-js/pull/903

# Conflicts:
#	src/Utils/BuildSchema.php
#	tests/Utils/BuildSchemaTest.php
2018-02-10 18:45:23 +01:00
..
00-hello-world Fixing examples 2017-08-20 02:31:11 +07:00
01-blog Fix parsing of default values in build-schema 2018-02-10 18:45:23 +01:00
02-shorthand Document shorthand usage 2017-07-10 21:14:34 +01:00
03-server New example for server usage 2017-08-20 02:33:16 +07:00