graphql-server-test 3.30.2 → 3.31.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.
@@ -40,6 +40,9 @@ export const getConnections = async (input, seedAdapters) => {
40
40
  const serverOpts = getEnvOptions({
41
41
  pg: pg.config,
42
42
  api: {
43
+ // The harness connects as its admin user, which is also the role the
44
+ // control plane runs as unless a suite names a narrower one.
45
+ controlRole: pg.config.user,
43
46
  // Start with user-provided api options from server.api
44
47
  ...input.server?.api,
45
48
  // Apply convenience properties (these take precedence)
@@ -43,6 +43,9 @@ const getConnections = async (input, seedAdapters) => {
43
43
  const serverOpts = (0, graphql_env_1.getEnvOptions)({
44
44
  pg: pg.config,
45
45
  api: {
46
+ // The harness connects as its admin user, which is also the role the
47
+ // control plane runs as unless a suite names a narrower one.
48
+ controlRole: pg.config.user,
46
49
  // Start with user-provided api options from server.api
47
50
  ...input.server?.api,
48
51
  // Apply convenience properties (these take precedence)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphql-server-test",
3
- "version": "3.30.2",
3
+ "version": "3.31.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive GraphQL Server Testing with SuperTest HTTP requests",
6
6
  "main": "index.js",
@@ -31,8 +31,8 @@
31
31
  "devDependencies": {
32
32
  "@0no-co/graphql.web": "^1.3.3",
33
33
  "@agentic-kit/ollama": "2.15.0",
34
- "@constructive-io/graphql-codegen": "^5.23.10",
35
- "@constructive-io/graphql-query": "^4.20.10",
34
+ "@constructive-io/graphql-codegen": "^5.23.11",
35
+ "@constructive-io/graphql-query": "^4.20.11",
36
36
  "@constructive-io/s3-utils": "^2.34.0",
37
37
  "@simplewebauthn/server": "13.3.2",
38
38
  "@types/express": "^5.0.6",
@@ -45,14 +45,14 @@
45
45
  "nested-obj": "^0.2.3"
46
46
  },
47
47
  "dependencies": {
48
- "@constructive-io/graphql-dev-server": "^3.20.10",
49
- "@constructive-io/graphql-env": "^3.35.0",
50
- "@constructive-io/graphql-server": "^5.29.2",
51
- "@constructive-io/graphql-types": "^3.34.0",
48
+ "@constructive-io/graphql-dev-server": "^3.20.11",
49
+ "@constructive-io/graphql-env": "^3.36.0",
50
+ "@constructive-io/graphql-server": "^5.30.0",
51
+ "@constructive-io/graphql-types": "^3.35.0",
52
52
  "@constructive-io/upload-client": "0.28.0",
53
53
  "@pgpmjs/types": "^2.57.0",
54
54
  "express": "^5.2.1",
55
- "graphile-schema": "^2.19.10",
55
+ "graphile-schema": "^2.19.11",
56
56
  "graphql": "16.13.0",
57
57
  "pg": "^8.21.0",
58
58
  "pg-cache": "^3.29.7",
@@ -70,5 +70,5 @@
70
70
  "e2e",
71
71
  "server"
72
72
  ],
73
- "gitHead": "f35de942240d80f7d35219217e65e0d23591f1a7"
73
+ "gitHead": "2f506a4a4062b4bd92979c02249e0fee14af4043"
74
74
  }