Skip to content

Commit cc696bc

Browse files
committed
Fix graphql resolver for Prisma
1 parent 3b2fc1a commit cc696bc

File tree

5 files changed

+2037
-113
lines changed

5 files changed

+2037
-113
lines changed

.graphqlconfig.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
projects:
2+
app:
3+
schemaPath: src/schema.graphql
4+
extensions:
5+
endpoints:
6+
default: http://localhost:4000
7+
database:
8+
schemaPath: src/generated/prisma.graphql
9+
extensions:
10+
prisma: database/prisma.yml

database/prisma.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
endpoint: http://localhost:4466
22
datamodel: datamodel.graphql
3+
secret: 'hoge'
4+
5+
hooks:
6+
post-deploy:
7+
- npx graphql get-schema --project database

0 commit comments

Comments
 (0)