pothos
pothos copied to clipboard
Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Hey @hayes first of all thank you for this project, been enjoying exploring it so far a lot! 👏 I was wondering if there was a way to customize with-input...
Is there any recommendation on how to split the building codes into separate files with Pothos? > |- mutations | |- readArticle.ts | |- updateUser.ts |- querys | |- getUser.ts...
I have a type definition like the following: ```ts export const Foo = builder.prismaObject('Foo', { fields: (t) => ({ // ... bars: t.relation('bars', { subGraphs: ['Internal'] }), }), }); builder.prismaObject('Bar',...
Hello ! First of all, thanks a lot for Pothos, I have been playing around with it lately, and it is very comfortable and nice to use. I always try...
# WIP EdgeDB Plugin Related Issue: https://github.com/hayes/pothos/issues/534 ## `edgeDBObject` **Naming Conventions** - `t.link()`: Model property which is a relation to another model. (like prisma plugins `t.relation()`) Could be one or...
# Introduction https://www.edgedb.com/docs Just found out about EdgeDB and it looks like a new database which also has its own schema and query language, according to my understanding. However it...
It would be nice to have the `prismaFieldWithInput` method when is With-Input plugin installed. Something like this: ```ts builder.mutationField('updateUser', (t) => t.prismaFieldWithInput({ type: 'User', input: { displayName: t.input.string({ required: false...
We have a use case we would like to paginate the output of a query due to the size of the output. Has this been discussed before? Having something like...
Once the feature is available in prisma. This is currently planned for Prisma 4.1. https://github.com/prisma/prisma-engines/pull/3057