Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drizzle rqb2 wip #1392

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .changeset/ten-horses-stop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
"@pothos-examples/prisma-smart-subscriptions-apollo": patch
"@pothos/plugin-smart-subscriptions": patch
"@pothos-examples/relay-windowed-pagination": patch
"@pothos-examples/envelope-helix-fastify": patch
"@pothos/plugin-simple-objects": patch
"@pothos/tracing-opentelemetry": patch
"@pothos-examples/prisma-subscriptions": patch
"@pothos/plugin-prisma-utils": patch
"@pothos/plugin-add-graphql": patch
"@pothos-examples/prisma-federation": patch
"@pothos-examples/simple-interfaces": patch
"@pothos/plugin-complexity": patch
"@pothos/plugin-dataloader": patch
"@pothos/plugin-directives": patch
"@pothos/plugin-federation": patch
"@pothos/plugin-scope-auth": patch
"@pothos/plugin-with-input": patch
"@pothos/plugin-sub-graph": patch
"@pothos/tracing-newrelic": patch
"@pothos-examples/graphql-shield": patch
"@pothos-examples/open-telemetry": patch
"@pothos-examples/simple-classes": patch
"@pothos/plugin-drizzle": patch
"@pothos/plugin-example": patch
"@pothos/plugin-tracing": patch
"@pothos/tracing-sentry": patch
"@pothos/plugin-errors": patch
"@pothos/plugin-prisma": patch
"@pothos-examples/prisma-relay": patch
"@pothos/plugin-mocks": patch
"@pothos/plugin-relay": patch
"@pothos/tracing-xray": patch
"@pothos-examples/complex-app": patch
"@pothos-examples/federation": patch
"@pothos/plugin-zod": patch
"@pothos/test-utils": patch
"@pothos/converter": patch
"@pothos-examples/nextjs": patch
"@pothos-examples/prisma": patch
"@pothos-examples/helix": patch
"@pothos/core": patch
"@pothos/deno": patch
---

Update dependencies
26 changes: 13 additions & 13 deletions examples/complex-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"seed": "tsx prisma/seed.ts"
},
"dependencies": {
"@faker-js/faker": "^9.2.0",
"@faker-js/faker": "^9.6.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-dataloader": "workspace:*",
Expand All @@ -26,24 +26,24 @@
"@pothos/plugin-scope-auth": "workspace:*",
"@pothos/plugin-simple-objects": "workspace:*",
"@pothos/plugin-zod": "workspace:*",
"@prisma/client": "^6.0.0",
"graphql": "^16.8.1",
"graphql-scalars": "^1.24.0",
"graphql-yoga": "5.10.4",
"prisma": "^6.0.0",
"react": "^18.3.1",
"urql": "^4.2.1",
"zod": "^3.23.8"
"@prisma/client": "^6.5.0",
"graphql": ">=16.6.0",
"graphql-scalars": "^1.24.2",
"graphql-yoga": "5.13.2",
"prisma": "^6.5.0",
"react": "^19.0.0",
"urql": "^4.2.2",
"zod": "^3.24.2"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/client-preset": "4.5.1",
"@graphql-codegen/cli": "5.0.5",
"@graphql-codegen/client-preset": "4.7.0",
"@graphql-codegen/introspection": "4.0.3",
"@graphql-codegen/schema-ast": "^4.1.0",
"@types/node": "^22.10.1",
"typescript": "^5.7.2"
"@types/node": "^22.13.11",
"typescript": "^5.8.2"
}
}
8 changes: 4 additions & 4 deletions examples/envelope-helix-fastify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"type": "tsc --noEmit"
},
"dependencies": {
"@envelop/core": "^5.0.2",
"@faker-js/faker": "^9.2.0",
"@envelop/core": "^5.2.3",
"@faker-js/faker": "^9.6.0",
"@pothos/core": "workspace:*",
"fastify": "^5.1.0",
"graphql": "^16.8.1",
"fastify": "^5.2.1",
"graphql": ">=16.6.0",
"graphql-helix": "^1.13.0"
},
"publishConfig": {
Expand Down
14 changes: 7 additions & 7 deletions examples/federation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"type": "tsc --noEmit"
},
"dependencies": {
"@apollo/gateway": "2.9.3",
"@apollo/server": "^4.11.2",
"@apollo/subgraph": "2.9.3",
"@faker-js/faker": "^9.2.0",
"@apollo/gateway": "2.10.0",
"@apollo/server": "^4.11.3",
"@apollo/subgraph": "2.10.0",
"@faker-js/faker": "^9.6.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-directives": "workspace:*",
"@pothos/plugin-federation": "workspace:*",
"@prisma/client": "^6.0.0",
"graphql": "^16.8.1",
"prisma": "^6.0.0"
"@prisma/client": "^6.5.0",
"graphql": ">=16.6.0",
"prisma": "^6.5.0"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions examples/graphql-shield/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"type": "tsc --noEmit"
},
"dependencies": {
"@faker-js/faker": "^9.2.0",
"@faker-js/faker": "^9.6.0",
"@pothos/core": "workspace:*",
"graphql": "^16.8.1",
"graphql": ">=16.6.0",
"graphql-middleware": "^6.1.35",
"graphql-shield": "^7.6.5",
"graphql-yoga": "5.10.4"
"graphql-yoga": "5.13.2"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions examples/helix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"type": "tsc --noEmit"
},
"dependencies": {
"@faker-js/faker": "^9.2.0",
"@faker-js/faker": "^9.6.0",
"@pothos/core": "workspace:*",
"graphql": "^16.8.1",
"graphql": ">=16.6.0",
"graphql-helix": "^1.13.0"
},
"publishConfig": {
Expand Down
33 changes: 17 additions & 16 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,30 @@
"start": "next start"
},
"dependencies": {
"@apollo/client": "^3.11.10",
"@faker-js/faker": "^9.2.0",
"@apollo/client": "^3.13.5",
"@faker-js/faker": "^9.6.0",
"@pothos/core": "workspace:*",
"@tanstack/react-query": "^5.62.0",
"graphql": "^16.8.1",
"@tanstack/react-query": "^5.69.0",
"graphql": ">=16.6.0",
"graphql-helix": "^1.13.0",
"graphql-tag": "^2.12.6",
"graphql-yoga": "5.10.4",
"next": "15.0.3",
"react": "18.3.1",
"react-dom": "18.3.1"
"graphql-yoga": "5.13.2",
"next": "15.2.3",
"react": "19.0.0",
"react-dom": "19.0.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/cli": "^5.0.5",
"@graphql-codegen/near-operation-file-preset": "^3.0.0",
"@graphql-codegen/schema-ast": "^4.1.0",
"@graphql-codegen/typescript": "^4.1.2",
"@graphql-codegen/typescript-operations": "^4.4.0",
"@graphql-codegen/typescript": "^4.1.5",
"@graphql-codegen/typescript-operations": "^4.5.1",
"@graphql-codegen/typescript-react-apollo": "^4.3.2",
"@types/node": "22.10.1",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"concurrently": "^9.1.0",
"typescript": "^5.7.2"
"@types/node": "22.13.11",
"@types/react": "19.0.12",
"@types/react-dom": "19.0.4",
"concurrently": "^9.1.2",
"typescript": "^5.8.2"
},
"engines": {
"node": ">=12.0.0"
Expand Down
14 changes: 7 additions & 7 deletions examples/open-telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"license": "MIT",
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/exporter-zipkin": "^1.28.0",
"@opentelemetry/instrumentation": "^0.55.0",
"@opentelemetry/instrumentation-http": "^0.55.0",
"@opentelemetry/sdk-trace-base": "^1.28.0",
"@opentelemetry/sdk-trace-node": "^1.28.0",
"@opentelemetry/exporter-zipkin": "^2.0.0",
"@opentelemetry/instrumentation": "^0.200.0",
"@opentelemetry/instrumentation-http": "^0.200.0",
"@opentelemetry/sdk-trace-base": "^2.0.0",
"@opentelemetry/sdk-trace-node": "^2.0.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-tracing": "workspace:*",
"@pothos/tracing-opentelemetry": "workspace:*",
"bema": "^0.1.2",
"graphql": "^16.8.1",
"graphql-yoga": "5.10.4",
"graphql": ">=16.6.0",
"graphql-yoga": "5.13.2",
"tsm": "^2.3.0"
},
"publishConfig": {
Expand Down
14 changes: 7 additions & 7 deletions examples/prisma-federation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
"seed": "node -r @swc-node/register prisma/seed.ts"
},
"dependencies": {
"@apollo/gateway": "2.9.3",
"@apollo/server": "^4.11.2",
"@apollo/subgraph": "2.9.3",
"@faker-js/faker": "^9.2.0",
"@apollo/gateway": "2.10.0",
"@apollo/server": "^4.11.3",
"@apollo/subgraph": "2.10.0",
"@faker-js/faker": "^9.6.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-directives": "workspace:*",
"@pothos/plugin-federation": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@pothos/plugin-relay": "workspace:*",
"@prisma/client": "^6.0.0",
"graphql": "^16.8.1",
"prisma": "^6.0.0"
"@prisma/client": "^6.5.0",
"graphql": ">=16.6.0",
"prisma": "^6.5.0"
},
"publishConfig": {
"access": "public"
Expand Down
10 changes: 5 additions & 5 deletions examples/prisma-relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"seed": "node -r @swc-node/register prisma/seed.ts"
},
"dependencies": {
"@faker-js/faker": "^9.2.0",
"@faker-js/faker": "^9.6.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@pothos/plugin-relay": "workspace:*",
"@prisma/client": "^6.0.0",
"graphql": "^16.8.1",
"graphql-yoga": "5.10.4",
"prisma": "^6.0.0"
"@prisma/client": "^6.5.0",
"graphql": ">=16.6.0",
"graphql-yoga": "5.13.2",
"prisma": "^6.5.0"
},
"publishConfig": {
"access": "public"
Expand Down
20 changes: 10 additions & 10 deletions examples/prisma-smart-subscriptions-apollo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,28 @@
"seed": "node -r @swc-node/register prisma/seed.ts"
},
"dependencies": {
"@apollo/server": "^4.11.2",
"@faker-js/faker": "^9.2.0",
"@apollo/server": "^4.11.3",
"@faker-js/faker": "^9.6.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@pothos/plugin-smart-subscriptions": "workspace:*",
"@prisma/client": "^6.0.0",
"@prisma/client": "^6.5.0",
"body-parser": "^1.20.3",
"cors": "^2.8.5",
"express": "^4.21.1",
"graphql": "^16.8.1",
"express": "^4.21.2",
"graphql": ">=16.6.0",
"graphql-subscriptions": "^3.0.0",
"graphql-ws": "^5.16.0",
"prisma": "^6.0.0",
"ws": "^8.18.0"
"graphql-ws": "^6.0.4",
"prisma": "^6.5.0",
"ws": "^8.18.1"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/body-parser": "^1.19.5",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/ws": "^8.5.13"
"@types/express": "^5.0.1",
"@types/ws": "^8.18.0"
}
}
8 changes: 4 additions & 4 deletions examples/prisma-smart-subscriptions-apollo/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { createServer } from 'node:http';
import { ApolloServer } from '@apollo/server';
import { expressMiddleware } from '@apollo/server/express4';
import { ApolloServerPluginDrainHttpServer } from '@apollo/server/plugin/drainHttpServer';
import * as bodyParser from 'body-parser';
import * as cors from 'cors';
import * as express from 'express';
import { useServer } from 'graphql-ws/lib/use/ws';
import bodyParser from 'body-parser';
import cors from 'cors';
import express from 'express';
import { useServer } from 'graphql-ws/use/ws';
import { WebSocketServer } from 'ws';
import { createContext, defaultContext } from './context';
import { schema as schemaPothos } from './schema';
Expand Down
3 changes: 2 additions & 1 deletion examples/prisma-smart-subscriptions-apollo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"strict": true,
"skipLibCheck": true,
"target": "es2019",
"moduleResolution": "node",
"moduleResolution": "node16",
"module": "Node16",
"allowSyntheticDefaultImports": true
},
"include": ["prisma/*.ts", "src/**/*"]
Expand Down
10 changes: 5 additions & 5 deletions examples/prisma-subscriptions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"seed": "node -r @swc-node/register prisma/seed.ts"
},
"dependencies": {
"@faker-js/faker": "^9.2.0",
"@faker-js/faker": "^9.6.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@prisma/client": "^6.0.0",
"graphql": "^16.8.1",
"@prisma/client": "^6.5.0",
"graphql": ">=16.6.0",
"graphql-subscriptions": "^3.0.0",
"graphql-yoga": "5.10.4",
"prisma": "^6.0.0"
"graphql-yoga": "5.13.2",
"prisma": "^6.5.0"
},
"publishConfig": {
"access": "public"
Expand Down
10 changes: 5 additions & 5 deletions examples/prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"seed": "node -r @swc-node/register prisma/seed.ts"
},
"dependencies": {
"@faker-js/faker": "^9.2.0",
"@faker-js/faker": "^9.6.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-prisma": "workspace:*",
"@prisma/client": "^6.0.0",
"graphql": "^16.8.1",
"graphql-yoga": "5.10.4",
"prisma": "^6.0.0"
"@prisma/client": "^6.5.0",
"graphql": ">=16.6.0",
"graphql-yoga": "5.13.2",
"prisma": "^6.5.0"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 4 additions & 4 deletions examples/relay-windowed-pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"seed": "node -r @swc-node/register prisma/seed.ts"
},
"dependencies": {
"@faker-js/faker": "^9.2.0",
"@faker-js/faker": "^9.6.0",
"@pothos/core": "workspace:*",
"@pothos/plugin-relay": "workspace:*",
"graphql": "^16.8.1",
"graphql-yoga": "5.10.4",
"prisma": "^6.0.0"
"graphql": ">=16.6.0",
"graphql-yoga": "5.13.2",
"prisma": "^6.5.0"
},
"publishConfig": {
"access": "public"
Expand Down
Loading
Loading