News for hackers. Stuff that matters.
Re:Prisma Raises $12M Series A by nikolasburk on Friday June 26, 2020 @11:19AM (#23652965)
TypeGraphQL and Prisma are not really comparable though. Prisma is an open-source database toolkit (much like an ORM), TypeGraphQL is a GraphQL schema construction library (like `graphql-js` or `@nexus/schema`), they solve very different problems!

You can even combine Prisma with TypeGraphQL if you're building a GraphQL server that needs to access a databases. In that case, you'd use Prisma Client inside your TypeGraphQL resolvers to send database queries.

In fact, we are collaborating with the maintainer of TypeGraphQL to build an integration between Prisma and TypeGraphQL that will allow you to leverage information from your Prisma models when building your GraphQL schema! :)

Re:Prisma Raises $12M Series A by desmap on Friday June 26, 2020 @02:34PM (#23655334)
They can be compared in terms of who dictates the model/is the leading source of truth.

I saw that you integrate with type-graqhql but the integration hasn't convinced me yet, somehow type-graqhql loses its elegance with the resulting architecture.

Besides, did you sponsor type-graqhql's maintainer to collaborate with Prisma 2?

Re:Prisma Raises $12M Series A by hervelabas on Saturday June 27, 2020 @10:51AM (#23662176)
> They can be compared in terms of who dictates the model/is the leading source of truth.

You can also use introspection to keep the database as the source of truth for the model, and lean on the Prisma schema for type safety if you prefer.