Hello Prisma forum!
I’m fairly new to Prisma ecosystem and I’m just trying it out and checking if it can be a fit for a project I’m working on. So far I’ve played around with graphql-yoga and prisma-bindings and I love how easy it is to have them working together. Great stuff!
For the upcoming project my infrastructure will consist of two different server side API’s with different business logic. However, both of them will be connected to one dataset with same data. What I would imagine would be the solution is to create two graphql-yoga servers, connect them through prisma-bindings to 1 service = profit!
As far as I understand I have to have prisma-binding’s for each API, which means I need to maintain data models + database schema in both API’s. Obviously, it’s not ideal and co go out of sync very quickly and preferable solution would be to extract that somehow.
Is there any tool or approach which could help me maintaining one database schema which then i could connect two different API’s?
Thanks in advance!