drizzle-graphql
Create a GraphQL server from a Drizzle schema in one line, and easily enhance it with custom queries and mutations.
Quick start
Make sure your drizzle-orm
version is at least 0.30.9
, and update if needed:
Apollo Server
GraphQL Yoga
Customizing schema
ℹ️
buildSchema()
produces schema and types using standard graphql
SDK, so its output is compatible with any library that supports it.
If you want to customize your schema, you can use entities
object to build your own new schema: