From 63d4de485d3cd96c00480dfe2e5a6cb320d520c7 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 1 Sep 2019 02:53:15 +0200 Subject: Deprecate enum, enumA, wrappedEnum, wrappedEnumA These functions are from Language.GraphQL.Schema. There are actually only two generic types in GraphQL: Scalars and objects. Enum is a scalar value. According to the specification enums may be serailized to strings. And in the current implementation they used untyped strings anyway, so there is no point to have differently named functions with the same implementation as their scalar counterparts. --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index dca4622..9494208 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ All notable changes to this project will be documented in this file. the user separately, because the schema can originate from a GraphQL document. `Schema` name should be free to provide a data type for the real schema later. +- `Language.GraphQL.Schema`: `enum`, `enumA`, `wrappedEnum` and `wrappedEnumA`. + There are actually only two generic types in GraphQL: Scalars and objects. + Enum is a scalar value. ## [0.5.0.0] - 2019-08-14 ### Added -- cgit v1.2.3