Add constructor with additional schema types

This commit is contained in:
2021-05-13 17:40:38 +02:00
parent 1b7cd85216
commit c311cb0070
5 changed files with 119 additions and 35 deletions

View File

@ -10,6 +10,10 @@ and this project adheres to
### Added
- `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.
### Fixed
- Parser now accepts empty lists and objects.