pothos
pothos copied to clipboard
Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Hi, Just updated to Pothos 4.0, very smooth - great work :) Could it be possible to implement the `builder.objectField()` method for inputs? ie. ```ts builder.inputField({ ... }) ``` Also...
It is quite common for the nullability of an object in GraphQL to match that of the corresponding object in the Prisma schema. However, with the current approach, I need...
In fact, I've tried everything, the only thing left is to write directly to name :) The situation is as follows, I'm trying to make it so that when I...
Currently the `@pothos/plugin-relay` is a bit opinionated on the global id format and is difficult to customize. The type definition has following constraints: - Type names are stored as strings....
Adds an example demonstrating a custom plugin that adds a `requiredTypename()` method to interface and union refs, enforcing `__typename: string` as a required property through TypeScript's type system. ## Implementation...
Create an example in the examples directory that adds a custom plugin that adds a requiredTypename() method on interface and union refs. The idea is to just return the same...
## Summary - Documents common issue with field selection in `resolveReference` when using federation plugin with Prisma - Exposed fields (`t.exposeString()`, `t.exposeInt()`, etc.) are not automatically included in `select`, causing...