From f6ff0ab9c785273e3ceeac6b9d636c5ec519a008 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 7 Sep 2020 22:01:49 +0200 Subject: Validate fragments on composite types --- CHANGELOG.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 65c86f4..2e74142 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,13 +8,18 @@ and this project adheres to ## [Unreleased] ### Changed -- Added location information to `AST.Document.Selection`. +- `AST.Document.Selection` wraps additional new types: `FragmentSpread` + and `InlineFragment`. Thus validation rules can be more concise. ### Added -- `Validate.Validation.Rule`: `SelectionRule` constructor. +- `Validate.Validation.Rule`: `SelectionRule`, `FragmentRule` and + `FragmentSpreadRule` constructors. - `Validate.Rules`: + - `fragmentsOnCompositeTypesRule` - `fragmentSpreadTargetDefinedRule` - `fragmentSpreadTypeExistenceRule` +- `AST.Document.FragmentSpread`. +- `AST.Document.InlineFragment`. ### Fixed - Collecting existing types from the schema considers subscriptions. -- cgit v1.2.3