graphql-php/src/Language/AST/ObjectValueNode.php
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

13 lines
212 B
PHP

<?php
namespace GraphQL\Language\AST;
class ObjectValueNode extends Node implements ValueNode
{
public $kind = NodeKind::OBJECT;
/**
* @var ObjectFieldNode[]|NodeList
*/
public $fields;
}