Is there any way to forward every eligible request...
# prisma-whats-new
s
Is there any way to forward every eligible requests to prisma from resolvers? I would like to front-end easily access the auto-generated APIs. Thanks.
n
you already checked out this one, right: https://github.com/graphcool/prisma/tree/master/examples/resolver-forwarding? Alternatively, depending on your use case, you can also directly connect to Prisma directly from your frontend.
j
@Steve Mu is this example working for you? I'm also looking for a way to access the prisma API driectly via the grapql server endpoint
s
Yes. In order to for the forward to work, we need modify schema.graphql, our own resolver, and run "prisma deploy".