fcosrno
02/26/2018, 6:50 PMprisma deploy and npm start, but I cannot perform CRUD operations against the new type. The only queries I see in Schema are the ones under Query in src/schema.graphql. Shouldn't I be able to see the generated ones too?max
02/27/2018, 9:38 AMuser -> app -> Prisma -> database. If you've added a new type and deployed it to Prisma, it's available to app on prisma but not user until you add it to your src/schema.graphql you can import types from the generated file using:max
02/27/2018, 9:38 AM# import User from "./generated/prisma.graphql"fcosrno
03/06/2018, 6:45 PMtype Film. If the user queries {films} they will not get anything in the app unless I add films to the Query const in Query.ts and to the Query type in shchema.graphql? The function will look something like\n films(parent, args, ctx, info) {\n return ctx.db.query.films({}, info);\n }max
03/06/2018, 6:48 PMfcosrno
03/06/2018, 7:04 PM