mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-03-23 08:13:50 +03:00
* 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
13 lines
212 B
PHP
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;
|
|
}
|