Move AST to AST.Document

This commit is contained in:
2019-12-28 07:07:58 +01:00
parent 78ee76f9d5
commit fdf5914626
7 changed files with 232 additions and 188 deletions

View File

@ -11,9 +11,11 @@ and this project adheres to
- AST for the GraphQL schema.
### Changed
- Rename `AST.Definition` into `AST.ExecutableDefinition`.
`AST.TypeSystemDefinition` and `AST.TypeSystemExtension` can also be
definitions.
- Rename `AST.Definition` into `AST.Document.ExecutableDefinition`.
`AST.Document.TypeSystemDefinition` and `AST.Document.TypeSystemExtension`
can also be definitions.
- Move all AST data to `AST.Document` and reexport them.
- Rename `AST.OperationSelectionSet` to `AST.Document.SelectionSet`.
### Removed
- `AST.Field`, `AST.InlineFragment` and `AST.FragmentSpread`.