From c2c57b636392ae67a118ce5be04ad8f4b1304ed5 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 9 Sep 2020 17:04:31 +0200 Subject: Validate all fragments are used --- CHANGELOG.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e74142..29710bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,22 +8,27 @@ and this project adheres to ## [Unreleased] ### Changed -- `AST.Document.Selection` wraps additional new types: `FragmentSpread` - and `InlineFragment`. Thus validation rules can be more concise. +- `AST.Document.Selection` wraps additional new types: `Field`, `FragmentSpread` + and `InlineFragment`. Thus validation rules can be defined more concise. ### Added -- `Validate.Validation.Rule`: `SelectionRule`, `FragmentRule` and +- `Validate.Validation.Rule`: `SelectionRule`, `FieldRule`, `FragmentRule` and `FragmentSpreadRule` constructors. - `Validate.Rules`: - `fragmentsOnCompositeTypesRule` - `fragmentSpreadTargetDefinedRule` - `fragmentSpreadTypeExistenceRule` + - `noUnusedFragmentsRule` +- `AST.Document.Field`. - `AST.Document.FragmentSpread`. - `AST.Document.InlineFragment`. ### Fixed - Collecting existing types from the schema considers subscriptions. +### Removed +- `AST.Document.Alias`. Use `AST.Document.Name` instead. + ## [0.10.0.0] - 2020-08-29 ### Changed - `Test.Hspec.GraphQL.*`: replace `IO` in the resolver with any `MonadCatch`. -- cgit v1.2.3