Naka
10/26/2018, 7:07 PMlucas
10/26/2018, 7:10 PMlucas
10/26/2018, 7:11 PMlucas
10/26/2018, 7:11 PMlucas
10/26/2018, 7:11 PMlucas
10/26/2018, 7:11 PMNaka
10/26/2018, 7:14 PMNaka
10/26/2018, 7:15 PMlucas
10/26/2018, 7:18 PMlucas
10/26/2018, 7:19 PMlucas
10/26/2018, 7:19 PMlucas
10/26/2018, 7:19 PMNaka
10/26/2018, 7:20 PMsrc/generated/prisma.graphql don't have all the prisma api? If you use the prisma.graphql in the graphql server, won't it expose all the api and datamodels to the client?Naka
10/26/2018, 7:22 PMlucas
10/26/2018, 7:22 PMlucas
10/26/2018, 7:23 PMNaka
10/26/2018, 7:23 PMlucas
10/26/2018, 7:23 PMlucas
10/26/2018, 7:24 PMlucas
10/26/2018, 7:24 PMlucas
10/26/2018, 7:24 PMlucas
10/26/2018, 7:25 PMNaka
10/26/2018, 7:27 PMprisma.graphql type in my schema.graphql. But it seems that they have to be different implementations... otherwise I would be exposing my datamodel anywaylucas
10/26/2018, 7:32 PMNaka
10/26/2018, 7:32 PMFran Dios
10/27/2018, 4:17 AMgraphql-import. Something like #import Post from "../generated/prisma.graphql", and it should only import Post type. Then you can use it in your app schema as you want.Fran Dios
10/27/2018, 4:18 AM