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.
This commit is contained in:
2019-09-01 02:53:15 +02:00
parent 22313d05df
commit 63d4de485d
5 changed files with 16 additions and 11 deletions

View File

@ -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