@axinom/mosaic-graphql-common 0.13.0-rc.1 → 0.13.0-rc.11

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.
@@ -88,7 +88,7 @@ export declare class PostgraphileOptionsBuilder {
88
88
  result.errors,
89
89
  req.body?.operationName,
90
90
  customizeGraphQlErrorFields(defaultPgErrorMapper),
91
- logGraphQlError(defaultWriteLogMapper, this.logger),
91
+ logGraphQlError(defaultWriteLogMapper, req.authContext?.subject, this.logger),
92
92
  );
93
93
  }
94
94
  })
@@ -120,7 +120,7 @@ class PostgraphileOptionsBuilder {
120
120
  result.errors,
121
121
  req.body?.operationName,
122
122
  customizeGraphQlErrorFields(defaultPgErrorMapper),
123
- logGraphQlError(defaultWriteLogMapper, this.logger),
123
+ logGraphQlError(defaultWriteLogMapper, req.authContext?.subject, this.logger),
124
124
  );
125
125
  }
126
126
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-graphql-common",
3
- "version": "0.13.0-rc.1",
3
+ "version": "0.13.0-rc.11",
4
4
  "description": "Common GraphQL and PostGraphile related functionality.",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "access": "public"
60
60
  },
61
- "gitHead": "db55a8dd53eaa0111c13df367ee153f6acc8c52b"
61
+ "gitHead": "0d327726a34d3053c51fc137ef719c63b2048ea9"
62
62
  }
@@ -165,7 +165,7 @@ export class PostgraphileOptionsBuilder {
165
165
  result.errors,
166
166
  req.body?.operationName,
167
167
  customizeGraphQlErrorFields(defaultPgErrorMapper),
168
- logGraphQlError(defaultWriteLogMapper, this.logger),
168
+ logGraphQlError(defaultWriteLogMapper, req.authContext?.subject, this.logger),
169
169
  );
170
170
  }
171
171
  })