When creating a new project, the "generic" type qu...
# prisma-whats-new
m
When creating a new project, the "generic" type queries and mutations don't exsist anymore (ie:
query { User(id: $userId)
). Does this mean I need to create resolvers for each query instead of directly querying in the front end?
👍 1
s
I have the same question.
k
Are you asking about Prisma? If yes, you can use
forwardTo
. Import it from ‘prisma-bindings’
s
I tried forwardTo out. The example only touch upon querys. How do we forward mutations?
s
Oh that's awesome! I will try it out.
It worked!