@axinom/mosaic-graphql-common 0.7.0-rc.9 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -86,7 +86,7 @@ export declare class PostgraphileOptionsBuilder {
|
|
|
86
86
|
.setErrorsHandler((errors, req) => {
|
|
87
87
|
return enhanceGraphqlErrors(
|
|
88
88
|
result.errors,
|
|
89
|
-
req.body
|
|
89
|
+
req.body?.operationName,
|
|
90
90
|
customizeGraphQlErrorFields(defaultPgErrorMapper),
|
|
91
91
|
logGraphQlError(defaultWriteLogMapper, this.logger),
|
|
92
92
|
);
|
|
@@ -118,7 +118,7 @@ class PostgraphileOptionsBuilder {
|
|
|
118
118
|
.setErrorsHandler((errors, req) => {
|
|
119
119
|
return enhanceGraphqlErrors(
|
|
120
120
|
result.errors,
|
|
121
|
-
req.body
|
|
121
|
+
req.body?.operationName,
|
|
122
122
|
customizeGraphQlErrorFields(defaultPgErrorMapper),
|
|
123
123
|
logGraphQlError(defaultWriteLogMapper, this.logger),
|
|
124
124
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-graphql-common",
|
|
3
|
-
"version": "0.7.0
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Common GraphQL and PostGraphile related functionality.",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "e583a1076964626d1d0b1f9fb507d1defc307102"
|
|
61
61
|
}
|
|
@@ -163,7 +163,7 @@ export class PostgraphileOptionsBuilder {
|
|
|
163
163
|
.setErrorsHandler((errors, req) => {
|
|
164
164
|
return enhanceGraphqlErrors(
|
|
165
165
|
result.errors,
|
|
166
|
-
req.body
|
|
166
|
+
req.body?.operationName,
|
|
167
167
|
customizeGraphQlErrorFields(defaultPgErrorMapper),
|
|
168
168
|
logGraphQlError(defaultWriteLogMapper, this.logger),
|
|
169
169
|
);
|