-
1.0.0.0 Stable
released this
2021-07-04 10:04:43 +02:00 | 81 commits to master since this releaseAdded
Language.GraphQL.Execute.OrderedMap
is a map data structure, that preserves
insertion order.Language.GraphQL.Schema.schemaWithTypes
constructs a complete schema,
including an optional schema description and user-defined types not referenced
in the schema directly (for example interface implementations).Language.GraphQL.Schema.description
returns the optional schema description.- All errors that can be associated with a location in the query contain
location information.
Fixed
- Parser now accepts empty lists and objects.
- Parser now accepts all directive locations.
valuesOfCorrectTypeRule
doesn't check lists recursively since the
validation traverser calls it on all list items.valuesOfCorrectTypeRule
doesn't check objects recursively since the
validation traverser calls it on all object properties.- Validation of non-nullable values inside lists.
executeField
shouldn't assume that a selection has only one field with a
given name, but it should take the first field. The underlying cause is a
wrong pattern, which (because of the laziness) is executed only if the field
has arguments.
Changed
AST.Document.Value.List
andAST.Document.ConstValue.ConstList
contain
location information for each list item.Error
:singleError
,addErr
andaddErrMsg
are deprecated. They are
internal functions used by the executor for error handling.
Downloads