025331a9ee
Encode enums
2023-01-09 20:56:21 +01:00
ab4808c44d
Encode unions
2023-01-08 17:33:25 +01:00
bb4375313e
Encode object type definitions
2023-01-03 13:10:33 +01:00
70dedb6911
Encode interfaces (2018)
2023-01-02 10:30:37 +01:00
a96d4e6ef3
Add Semigroup and Monoid instances for Description
2022-12-27 10:38:08 +01:00
3ce6e7da46
Encode schema definitions
2022-12-25 16:38:00 +01:00
a5cf0a32e8
Replace ">> pure ()" with void
2022-12-24 18:59:40 +01:00
2f9881bb21
Fix GHC 9.2 warnings and deprecations
...
- Fix GHC 9.2 warnings
- Convert comments to proper deprecations
2022-12-24 18:09:52 +01:00
bf2e4925b4
Add operation type encoder
2022-10-02 11:38:53 +02:00
2321d1a1bc
Eliminate non-exhaustive patterns in ExecuteSpec
2022-07-02 15:29:35 +02:00
2f19093803
Change execute' to shouldResolveTo helper method
2022-07-01 12:18:02 +02:00
0dac9701bc
Document usage of the json flag
2022-06-30 11:10:46 +02:00
0d25f482dd
Remove deprecated Error functions
2022-03-31 21:49:44 +02:00
a2401d563b
Allow version 2.0 of the text package.
2022-03-27 13:41:16 +02:00
Dmitrii Skurikhin
8503c0f288
enhance query errors
2022-02-16 08:58:16 +01:00
Dmitrii Skurikhin
05e6aa4c95
add Arbitrary instances for AST.Document, add random arguments Parser test
2022-02-14 19:18:13 +01:00
647547206f
Add back graphql function, but jsonless
2022-01-20 11:43:21 +01:00
Dmitrii Skurikhin
0c8edae90a
fix empty list argument parsing
2022-01-09 09:00:56 +01:00
73585dde85
Add unreleased changelog entry
2022-01-07 08:45:34 +01:00
Dmitrii Skurikhin
1f7bd92d11
fix index position in error path
2022-01-07 08:31:47 +01:00
16cbe3fc28
Release 1.0.2.0
2021-12-26 05:14:36 +01:00
f20cd02048
Loose bounds for compatibility with major versions
2021-12-25 07:42:10 +01:00
116aa1f6bb
Put JSON support behind a flag
2021-12-24 13:35:18 +01:00
df078a59d0
Add Serialize and VariableValue value instances
...
- `Serialize` instance for `Type.Definition.Value`.
- `VariableValue` instance for `Type.Definition.Value`.
It makes it possible to use the library without an additional
serialization format like JSON.
2021-12-22 08:56:01 +01:00
930b8f10b7
Eta reduce and update required hlint
2021-11-23 09:21:07 +01:00
0047a13bc0
Move JSON tests to the upcoming extra package
2021-11-22 07:22:28 +01:00
a044fc40d3
Release 1.0.1.0
2021-09-27 07:24:02 +02:00
e6dbf936af
Test with GHC 9.0
2021-09-24 08:49:37 +02:00
fbfbb3e73f
Remove raw-strings-qq
2021-09-23 08:23:38 +02:00
eedab9e742
Don't append a trailing newline in gql
2021-09-22 08:50:20 +02:00
a3f18932bd
Add TH module with gql quasi quoter
2021-09-21 09:37:57 +02:00
60d1167839
Test nullability on value completion
2021-09-17 10:01:14 +02:00
7b00e8a0ab
Deprecate unused functions from the old executor
2021-09-05 09:14:57 +02:00
7444895a58
Remove unused (and not exposed) Execute.Internal
2021-09-04 07:27:51 +02:00
de4f69ab03
Add CHANGELOG entries for the new executor
2021-09-04 07:12:34 +02:00
b96d75f447
Replace the old executor
2021-09-03 22:47:49 +02:00
7b4c7e2b8c
Handle argument locations
2021-09-02 08:45:23 +02:00
233a58094d
Adjust value completion tests
2021-09-01 09:27:12 +02:00
c0d41a56ce
Show the value and expected type in value completion errors
2021-08-31 17:30:04 +02:00
c7e586a125
Copy subscription code
2021-08-31 17:30:04 +02:00
f808d0664f
Handle errors
2021-08-31 17:30:04 +02:00
2dafb00a16
Use sequences of selections
2021-08-31 17:30:04 +02:00
5505739e21
Collect fields
2021-08-31 17:30:04 +02:00
db721a3f53
Skip recursive fragments and marked fields
2021-08-31 17:30:04 +02:00
fef7c1ed98
Inline fragment spreads
2021-08-31 17:30:04 +02:00
4f7e990bf9
Use directives from the Type module
2021-08-31 17:30:04 +02:00
5e234ad4a9
Pass variables when generating the IR
2021-08-31 17:30:04 +02:00
9babf64cf6
Stub selection execution
2021-08-31 17:30:04 +02:00
5751870d2a
Rewrite the executor tree
2021-08-31 17:30:04 +02:00
d7422e46ca
Provide error information for variable definitions
2021-08-31 17:30:04 +02:00