9d85379826
Remove cariage return from the qq string
Build / audit (push) Successful in 16s
Build / test (push) Successful in 6m8s
Build / doc (push) Successful in 5m8s
2024-08-04 08:30:00 +02:00
e071553e75
Update QuickCheck and containers
Build / audit (push) Successful in 13m26s
Build / test (push) Successful in 6m12s
Build / doc (push) Successful in 5m17s
2024-05-01 14:06:33 +02:00
e731c7db07
Remove deprecated symbols from the Error module
Build / audit (push) Successful in 14m21s
Build / test (push) Successful in 6m22s
Build / doc (push) Successful in 5m33s
2024-04-04 18:51:58 +02:00
303f84ed41
Release 1.2.0.3
Build / audit (push) Successful in 15m3s
Build / test (push) Successful in 8m10s
Build / doc (push) Successful in 6m52s
2024-01-09 14:29:54 +01:00
d2ea9fb467
Release 1.2.0.2
Build / audit (push) Successful in 15m2s
Build / test (push) Successful in 8m0s
Build / doc (push) Successful in 6m51s
2024-01-08 22:29:58 +01:00
b1b6bfcdb9
Add a test for the wrong variable location
...
Build / audit (push) Successful in 16m30s
Build / test (push) Successful in 8m26s
Build / doc (push) Successful in 7m6s
inside an input object for the role checking for unused and undefined
variables.
2023-12-28 09:45:39 +01:00
a961b168db
Add a test for the input object coercion issue
2023-11-08 20:08:47 +01:00
7c78497e04
Add a CHANGELOG entry for the show type fix
2023-10-14 16:40:19 +02:00
2fdf04f54a
Remove leading carriage return in gql
2023-08-03 08:00:36 +02:00
3ed7dcd401
Support hspec 2.11
2023-04-25 08:51:18 +02:00
408dfb4301
Update web links
2023-03-23 09:46:04 +01:00
3b69dac371
Release 1.2.0.0
2023-02-28 17:54:02 +01:00
2834360411
Remove JSON support in the core package
2023-02-26 09:43:43 +01:00
83f2dc1a2d
Encode type extensions
2023-02-25 10:15:22 +01:00
3b0da4f3d7
Fix resolvers returning a list in the reverse order
2023-02-24 17:14:43 +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
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
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
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
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
a044fc40d3
Release 1.0.1.0
2021-09-27 07:24:02 +02:00
a3f18932bd
Add TH module with gql quasi quoter
2021-09-21 09:37:57 +02:00
7b00e8a0ab
Deprecate unused functions from the old executor
2021-09-05 09:14:57 +02:00
de4f69ab03
Add CHANGELOG entries for the new executor
2021-09-04 07:12:34 +02:00
cc8f14f122
Provide a custom Show instance for output Value
2021-08-31 17:29:20 +02:00
dd6fdf69f6
Release 1.0.0.0
2021-07-04 09:57:17 +02:00
b99bb72272
Report subscription error locations
2021-07-02 09:28:03 +02:00
6fe9eb72e4
Fix merging fields with arguments
...
executeField shouldn't assume that a selection has only one field with a
given name, but it should take the first field. The underlying cause is
a wrong pattern, which (because of the laziness) is executed only if the
field has arguments.
2021-06-18 06:51:14 +02:00
c311cb0070
Add constructor with additional schema types
2021-05-13 17:40:38 +02:00
1af95345d2
Deprecate internal error generation functions
...
The functions generating errors in the executor should be changed anyway
when we provide better error messages from the executor, with the error
location and response path. So public definitions of these functions are
deprecated now and they are replaced by more generic functions in the
executor code.
2021-05-10 09:43:39 +02:00
5a5f265fe4
Validate non-nullable values inside lists
2021-05-06 22:23:16 +02:00
5654b78935
Traverse input object properties once
2021-04-12 07:09:39 +02:00
328e6acdee
Emit list item errors once
2021-03-16 10:08:13 +01:00
Ben Sinclair
ca0f0bd32d
Fix some issues with directive definitions
...
I found some issues with directive definitions:
- I couldn't use `on FIELD_DEFINITION`, I believe because `FIELD` was parsed
first in `executableDirectiveLocation`. I've combined both
`executableDirectiveLocation` and `typetypeSystemDirectiveLocation` into one
function which can reorder them to ensure every directive location gets a fair
chance at parsing.
Not actually to do with directives, some literals weren't being parsed
correctly.
- The GraphQL spec defines list to be `[]` or `[Value]`, but empty literal lists
weren't being parsed correctly because of using `some` instead of `many`.
- The GraphQL spec defines objects to be `{}` or `{Name: Value}`, but empty
literal objects had the same issue.
2021-02-21 23:35:34 +11:00
10e4d64052
Replace Map with OrderedMap
2021-02-19 08:09:04 +01:00
1e8405a6d6
Document AST.Document.escape
2021-02-11 12:02:08 +01:00
2839b28590
Release 0.11.1.0
2021-02-07 08:10:46 +01:00
ed725ea514
Split validation rule tests in contexts
2021-02-06 12:54:27 +01:00
b27da54bf4
Provide custom Show instances for AST values
2021-02-04 08:12:12 +01:00
a034f2ce4d
Validate values
2021-02-03 05:47:40 +01:00