drizzle-graphql
drizzle-graphql copied to clipboard
Automatically generate GraphQL schema or customizable schema config fields from Drizzle ORM schema
Lets say i have multiple tables, with references like User -> Post -> Message when querying post directly i can query fields of message as a sub object directly when...
Is it possible to get relations in the mutations (insert/update) as well, like lets say we have a user and a post table currently when i do a query i...
package ``` "drizzle-graphql": "^0.7.0", "drizzle-orm": "^0.30.10", ``` query ```graphql query ($entity_id: Int!, $date: String!) { entitiesSingle(where: { id: { eq: $entity_id } }) { financeSalaries(where: { activatedAt: { lte: $date...
Right now we can only do _where_ filters on properties of objects But being able to filter on relations aswell would be nice bc we could do the following: ```gql...
**Description:** When attempting to extend a `GraphQLObjectType` using fields from `drizzleEntities.types.UsersItem.getFields()` in `drizzle-graphql`, the following error occurs: ``` Unhandled exception in handler 'server'. ✖ ExtendedUsersItem.id args must be an object...
Would it be possible to export the extract helpers so that the inputs types (filters and orderby) can be more easily used with custom resolve functions? Having these helpers exported...
I can't get this to run on Cloudflares runtime as it depends on a few node api's. Is there anything on the road map to make this work in those...
Is there a simple way to hide a field from an object ? Or to add a custom one ?
Hello, Thank you for your hard work. Maybe it would be a good idea to add some kind of aggregation api? https://orm.drizzle.team/docs/select#aggregations As an example: There are times when we...
Seems like there is no easy way to define a field as array of objects. one way is to define with `jsonb`: ```ts interface PreviousOwner { name: string } export...