MartĂ CrespĂ
02/14/2019, 1:34 PMprisma introspect but not generating datamodel.prisma, generating the SDL schema.Jenkins
02/14/2019, 1:42 PMgraphql-cli.
Run graphql get-schema --endpoint <your-endpoint> --output /some/where/schema.graphql đJenkins
02/14/2019, 1:45 PMschema.graphql is done with a post deployment hook that you can set in the prisma.yml file.MartĂ CrespĂ
02/14/2019, 2:00 PMprisma introspect, in this case postgresql that i was asking. Sorry if my question was not clear.Jenkins
02/14/2019, 2:02 PMMartĂ CrespĂ
02/14/2019, 2:09 PMHarshit
02/14/2019, 2:57 PMgenerate:
- generator: graphql-schema
output: ./generated/MartĂ CrespĂ
02/15/2019, 8:15 AMprisma generate with options, I mean, like prisma generate --type=graphql-schema --output=./generated and prisma generate --type=typescript-client --output=./generated/prisma-client/ instead reading from prisma.yml file that only allows one type.Harshit
02/15/2019, 8:16 AMMartĂ CrespĂ
02/15/2019, 8:18 AMprisma.yml file at same time.MartĂ CrespĂ
02/15/2019, 8:18 AMMartĂ CrespĂ
02/15/2019, 8:19 AMMartĂ CrespĂ
02/15/2019, 8:19 AMHarshit
02/15/2019, 8:19 AMHarshit
02/15/2019, 8:19 AMMartĂ CrespĂ
02/15/2019, 8:20 AMHarshit
02/15/2019, 8:20 AM