diff options
| author | Eugen Wissner <belka@caraus.de> | 2019-09-01 02:53:15 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2019-09-01 03:16:27 +0200 |
| commit | 63d4de485d3cd96c00480dfe2e5a6cb320d520c7 (patch) | |
| tree | c24e192b68c2abbfd1db34eb576b866b01cdbb03 /CHANGELOG.md | |
| parent | 22313d05df7d96cd8106bc42f787bc74d74596de (diff) | |
| download | graphql-63d4de485d3cd96c00480dfe2e5a6cb320d520c7.tar.gz | |
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.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
