Where/How does prisma create the resolvers for the...
# orm-help
l
Where/How does prisma create the resolvers for the queries?
n
On a high level, the datamodel that you enter in
prisma.yml
is transformed into a schema + resolver. A starting point is
SchemaBuilder
here: https://github.com/prisma/prisma/blob/master/server/servers/api/src/main/scala/com/prisma/api/schema/SchemaBuilder.scala.
l
Ah cool, thanks 🙂 So this does all happen in the com.prisma.api.schema package, right?
n
I'm not sure 🙂 But you can run a test and step through the code
l
But how? As far as I have seen is the code deeply nested together, meaning I cannot just run the classes which I want?