Hi everyone! I have an application written in .NET...
# orm-help
r
Hi everyone! I have an application written in .NET Core on the backend and Vue on the frontend. I used the REST API and recently decided to rewrite my server using GraphQL. I found a cool vue-apollo plugin that added GraphQL support to the client, and also created a GraphQL server on Node.js. I started migrating my application. Connected Sequelize, added description of entities in the database. And here it came to the declaration of types GraphQL. And I found that they completely copy the description of the entities in the database. I began to look for tools that will avoid duplication and will generate a schema for me based on the existing database. I found Postgraphile, Hasura and Prisma. I found that all of these tools require running a separate server to work. I wanted to add some middleware to an existing server, without running a separate instance. Can I use these tools this way or should I use something fundamentally different, like the GraphQL Code Generator? Thanks a lot
c
prisma is a server/database combination which turns a database into graphql, but is not usually what you expose directly to your app... you really want something like ApolloServer, it sounds like.
h
Not right now but in the future 😏 https://github.com/prisma/prisma/issues/3761