-
Notifications
You must be signed in to change notification settings - Fork 27
Commit c3d938a
Make serialized error spec compliant
Summary:
An update recently in `facebook/graphql/spec/Section 7 -- Response.md` specify that GraphQL services may provide an additional entry to errors with key `extensions`. Although non-specified entries are not violations, they are still discouraged.
This update try to follow through with the spec recommendation.1 parent b7e8814 commit c3d938a
2 files changed
+12
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | - | ||
20 | - | ||
21 | - | ||
22 | 19 | | |
23 | 20 | | |
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
59 | - | ||
60 | - | ||
61 | - | ||
62 | 61 | | |
63 | - | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | - | ||
34 | + | ||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments