Can somebody explain to me what is going on here: ...
# orm-help
c
Can somebody explain to me what is going on here: https://github.com/prismagraphql/graphql-server-example/blob/master/src/resolvers/Home.ts#L5 This is the first time I see that resolver can be an object instead of function (except subscriptions). Is it documented somewhere? I feel it might be very useful to me, as I am working on a kinda similar problem.
n
We should definitely create more examples/docs around this topic!
could you please provide your feedback and specific questions in a new documentation request here: https://github.com/prismagraphql/prisma/issues/new?template=documentation.md? 🙂
c
I will try your suggestion in the Forum first 🙂 Not sure how to describe what is missing from the docs. Basically, the problem I am solving right now - how to write resolvers when app schema diverges significantly from the Prisma schema. While keeping Prisma requests as one-liner 🙂