From 7c0b0ace4dacbb581669f88b83b9643a83fc797a Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 7 Oct 2020 05:24:51 +0200 Subject: Collect types once the schema is created --- CHANGELOG.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index a7e9c41..4fc2753 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,9 @@ and this project adheres to the path without executing the query. - `Error.Error`: `path` added. It is currently always empty. - `Validate.Validation.Path` was moved to `Error`. -- `Type.Schema.Schema` gets an additional field, `Schema.directives`. +- `Type.Schema.Schema`: data constructor is hidden, fields are accessible with + freestanding functions: `query`, `mutation`, `subscription`, `directives` and + `types`. ### Added - `Validate.Validation.Rule` constructors: @@ -62,7 +64,7 @@ and this project adheres to - `Type.In.Arguments`: Type alias for an argument map. - `Type.Schema.Directive` and `Type.Schema.Directives` are directive definition representation. -- `Type.Schema.schema`: Shortcut for creating a schema. +- `Type.Schema.schema`: Schema constructor. ### Fixed - Collecting existing types from the schema considers subscriptions. -- cgit v1.2.3