@constructive-io/graphql-server 4.11.1 → 4.11.3

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.
@@ -130,14 +130,6 @@ const buildPreset = (connectionString, schemas, anonRole, roleName) => ({
130
130
  // In grafserv/express/v4, the request is available at requestContext.expressv4.req
131
131
  const req = requestContext?.expressv4?.req;
132
132
  const context = {};
133
- // Schema naming strategy settings (for local development).
134
- // See constructive-db: get_available_schema_hash / create_schema_trigger.
135
- if (process.env.CONSTRUCTIVE_SIMPLE_SCHEMA_NAMES) {
136
- context['constructive.simple_schema_names'] = process.env.CONSTRUCTIVE_SIMPLE_SCHEMA_NAMES;
137
- }
138
- if (process.env.CONSTRUCTIVE_SCHEMA_USE_UNDERSCORES) {
139
- context['constructive.schema_use_underscores'] = process.env.CONSTRUCTIVE_SCHEMA_USE_UNDERSCORES;
140
- }
141
133
  if (req) {
142
134
  if (req.databaseId) {
143
135
  context['jwt.claims.database_id'] = req.databaseId;
@@ -139,14 +139,6 @@ const buildPreset = (connectionString, schemas, anonRole, roleName) => ({
139
139
  // In grafserv/express/v4, the request is available at requestContext.expressv4.req
140
140
  const req = requestContext?.expressv4?.req;
141
141
  const context = {};
142
- // Schema naming strategy settings (for local development).
143
- // See constructive-db: get_available_schema_hash / create_schema_trigger.
144
- if (process.env.CONSTRUCTIVE_SIMPLE_SCHEMA_NAMES) {
145
- context['constructive.simple_schema_names'] = process.env.CONSTRUCTIVE_SIMPLE_SCHEMA_NAMES;
146
- }
147
- if (process.env.CONSTRUCTIVE_SCHEMA_USE_UNDERSCORES) {
148
- context['constructive.schema_use_underscores'] = process.env.CONSTRUCTIVE_SCHEMA_USE_UNDERSCORES;
149
- }
150
142
  if (req) {
151
143
  if (req.databaseId) {
152
144
  context['jwt.claims.database_id'] = req.databaseId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/graphql-server",
3
- "version": "4.11.1",
3
+ "version": "4.11.3",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive GraphQL Server",
6
6
  "main": "index.js",
@@ -63,7 +63,7 @@
63
63
  "graphile-build-pg": "5.0.0-rc.8",
64
64
  "graphile-cache": "^3.3.4",
65
65
  "graphile-config": "1.0.0-rc.6",
66
- "graphile-settings": "^4.9.2",
66
+ "graphile-settings": "^4.10.0",
67
67
  "graphile-utils": "5.0.0-rc.8",
68
68
  "graphql": "16.13.0",
69
69
  "graphql-upload": "^13.0.0",
@@ -86,10 +86,10 @@
86
86
  "@types/multer": "^2.1.0",
87
87
  "@types/pg": "^8.18.0",
88
88
  "@types/request-ip": "^0.0.41",
89
- "graphile-test": "4.5.4",
89
+ "graphile-test": "4.5.6",
90
90
  "makage": "^0.1.10",
91
91
  "nodemon": "^3.1.14",
92
92
  "ts-node": "^10.9.2"
93
93
  },
94
- "gitHead": "8afe6b19da82facbe5f3365762ba52888af5b3c9"
94
+ "gitHead": "9f3837555601b15e693ae0b750124fb0a8df3176"
95
95
  }