Is it possible and/or sensible to work `nexus-pris...
# orm-help
l
Is it possible and/or sensible to work
nexus-prisma
into an existing Apollo Server / Prisma server? I'd like to migrate, but I don't have my head around what that path might look like
i
I’ve managed to migrate but I’m using a default
graphql-yoga
. And that migration will not be used in production yet, because there is problem with some middlewares which I use and with a
Subscription
, which is not yet implemented in
nexus-prisma
l
Interesting, thank you! Yoga is basically an opinionated version of Apollo Server, so the upgrade then is possible. I'll be interested to see how it's done!
w
Because nexus and nexus-prisma are simple layers on top of graphql-js, it should work with any graphql server in the js ecosystem It'll be difficult however to make both sdl and nexus stuff working together
👍 1
n
To get a feeling for what your programmatic schema might look like you can also start by feeding your current SDL into Nexus' SDL converter: https://nexus.js.org/converter
🚀 1