You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So that .graphqlconfig is placed in the root of workspace.
I run this:
cd servers/app
graphql get-schema -p graphql
× servers/prisma/prisma.yml could not be found.
if I update my config with this line:
"prisma": "../../servers/prisma/prisma.yml"
everything works okay then.
So I guess its a bug, that should be fixed
I want to have at least 2 applications for one prisma server.. its usually 1) app 2) admin... pretty logical.. different endpoints.. different auth rules, security flows and so on.
and I want auto update schemas in all applications when I change prisma schema... current approach support updating only one app.. well.. maybe i'm wrong.. this type of project structure looks to me pretty logical, but i'm not able to configure it properly for some reason
The text was updated successfully, but these errors were encountered:
I'm closing this in favor of Urigo/graphql-cli#340 now. I'm not sure if this is a bug, and if it is in graphql-config or graphql-cli, but we'll find out 🙂
I have this file structure:
.graphqlconfig
--- prisma
--- app
--- admin
--- relay-native
--- react-graphql
.graphqlconfig:
So that .graphqlconfig is placed in the root of workspace.
I run this:
cd servers/app graphql get-schema -p graphql × servers/prisma/prisma.yml could not be found.
if I update my config with this line:
"prisma": "../../servers/prisma/prisma.yml"
everything works okay then.
So I guess its a bug, that should be fixed
I want to have at least 2 applications for one prisma server.. its usually 1) app 2) admin... pretty logical.. different endpoints.. different auth rules, security flows and so on.
and I want auto update schemas in all applications when I change prisma schema... current approach support updating only one app.. well.. maybe i'm wrong.. this type of project structure looks to me pretty logical, but i'm not able to configure it properly for some reason
The text was updated successfully, but these errors were encountered: