Steven Vachon
05/31/2019, 12:47 PMCraig
05/31/2019, 12:57 PMprisma.graphql file is defining your data model at an ORM level (to define the functionality available via the Prisma client) whereas your datamodel.graphql file is what is used on your publicly exposed graphQL API. Prisma does expose its own graphQL API but it’s fully exposing your data model, which you probably dont want because you’d be exposing things that are not relevant to clients or you might want to extend your graphQL API to include other pieces of data outside of the database that Prisma is controlling as the ORM.Craig
05/31/2019, 12:58 PMSteven Vachon
05/31/2019, 1:20 PM