Hello! Prisma is a great product, thank you! Anybo...
# random
t
Hello! Prisma is a great product, thank you! Anybody have https://github.com/prisma/nexus/tree/develop/examples/nexus-prisma example written in js?
j
This is an example I made with apollo-server, graphql-shield and nexus-prisma. https://github.com/ChristianJacobsen/graphql-nexus-test
t
Man! It's awesome! I made same but with ts. But i don't want to use ts ) Can i use your implementation as starter?
hm... but i used graphql-yoga )
ok, i refactor my ts code to js with help of your example
thnx!
👍 2
j
Feel free to use as much or as little as you want. The only difference to yoga would really be that you don't need to call
applyMiddleware
on the schema. You can just add the middleware to the
middlewares
-array when construction the GraphQL-Yoga server.
👍 1