br
09/26/2018, 11:52 AMlawjolla
09/26/2018, 4:58 PMquery { users(where: {id}) { id } }
becomes prismaBindings.query.users({ where: {id }}, '{id}')
One of the easiest ways to understand prisma bindings is to use the more generic graphql-bindings package to interact with another GraphQL endpoint, like Github
Data Modeling: In a Prisma context, this is the file where you write your types for Prisma to translate into the database and Prisma service.
Query Engine: Not sure about this one. I think it's referring to the engine Prisma uses to generate the queries.
GraphQL server: A server that exchanges data according to the GraphQL spec.
Prisma Client: Their blog post is the best on this, but I think of it as an addition to Prisma Bindings for querying and mutating data within the app and/or when my server data model (e.g. what's being shown to the outside world) is not a subset of my Prisma data model.br
09/26/2018, 9:18 PMbr
09/26/2018, 9:19 PMbr
09/26/2018, 9:21 PM<Your GraphQL Server = {Schema, Resolvers}>
which points to the <Prisma Server = {Datamodel, Generated Schema}>
in front of a SQL database? Where the <Prisma Server>
is supposed to be instead of an ORM layer?