diff options
| author | Danny Navarro <j@dannynavarro.net> | 2016-02-09 13:31:28 +0100 |
|---|---|---|
| committer | Danny Navarro <j@dannynavarro.net> | 2016-02-09 13:31:28 +0100 |
| commit | df8e43c9aa922ff8f3ce1bf560c4286012486907 (patch) | |
| tree | 3f57dc5aec598c08ccf80a329859edd4b7d1aa16 /Data/GraphQL/Schema.hs | |
| parent | c385566912c8f4b2c4e852d1a560ac4ce5f9258a (diff) | |
| download | graphql-df8e43c9aa922ff8f3ce1bf560c4286012486907.tar.gz | |
Handle Output enumerations in Schema definition
The third end-to-end test from graphql-js was implemented.
Diffstat (limited to 'Data/GraphQL/Schema.hs')
| -rw-r--r-- | Data/GraphQL/Schema.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Data/GraphQL/Schema.hs b/Data/GraphQL/Schema.hs index a4ba0ca..8a6e625 100644 --- a/Data/GraphQL/Schema.hs +++ b/Data/GraphQL/Schema.hs @@ -14,8 +14,8 @@ type Resolver f = Input -> f (Output f) data Output f = OutputResolver (Resolver f) | OutputList (f [Output f]) | OutputScalar (f Scalar) + | OutputEnum (f Text) -- | OutputUnion [Output] - -- | OutputEnum [Scalar] -- | OutputNonNull (Output) data Input = InputScalar Scalar |
