Hello everyone, I’m currently upgrading from prism...
# orm-help
j
Hello everyone, I’m currently upgrading from prisma1 to prisma2, specifically wanted to move from prisma-binding to nexus. I see that there are 2 prisma plugins to use with nexus:
nexus-plugin-prisma
and
nexus-prisma
. As I understood I’d better use
nexus-plugin-prisma
in production, but wanted to ask how hard will it be to then replace it with the new
nexus-prisma
when it’s production ready ? I mean it seems like
nexus-plugin-prisma
is gonna be deprecated soon, but
nexus-prisma
is not ready, maybe it’s safer to wait until it’s ready and for now use SDL first ? Thank you.
d
the rewrite is from the bottom up and the api is so different that I cannot recommend using the old plugin. I would recommend not using any plugin for now and adopting the new plugin incrementally as it is completed.
j
Thanks for the reply. It’s just I have to rewrite the API anyway, and don’t want to do it twice if possible(prisma1 with prisma-binding-> prisma2 with SDL first and then prisma2 SDL-first -> Nexus with some plugin)