diff options
| author | Eugen Wissner <belka@caraus.de> | 2019-12-30 18:26:24 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2019-12-30 18:26:24 +0100 |
| commit | 44dc80bb37558fc6a35b22791ac407b63956176d (patch) | |
| tree | b1ffed820212030e5f7493c17fc6a1c23722a358 /tests/Test/DirectiveSpec.hs | |
| parent | fdf5914626ad172a8a459696f0114ef990c0d5cb (diff) | |
| download | graphql-44dc80bb37558fc6a35b22791ac407b63956176d.tar.gz | |
Replace substitution function with a map
It makes using variables with queries more approachable, but some work
still has to be done.
- The type `Subs` should be renamed and moved out of `Schema`, together with
`AST.Core.Value` probably.
- Some kind of conversion should be possible from a user-defined input
type T to the Value. So the final HashMap should have a type like
`HashMap name a`, where a is an instance of a potential typeclass
InputType.
Diffstat (limited to 'tests/Test/DirectiveSpec.hs')
0 files changed, 0 insertions, 0 deletions
