garph
garph copied to clipboard
Fullstack GraphQL Framework for TypeScript
So, not sure if this is a bit of esoteric use case, but I'd like to have an API that enables me to augment the object types defined through garph...
Here's a proposal 1. Create garph types from Zod types: ```ts const type = g.zodType('name', yourZodType) ``` 2. Create garph scalars from Zod types: ```ts const type = g.zodScalar('name', yourZodType)...
Create a directory structure example for organising complex projects
We want to propose a optional, but recommended `field` type which helps with semantics, especially on bigger projects Before: ```ts const blogType = g .type("Blog", { title: g .string() .optional()...
Auth
Allow implementing auth rules and logic directly in Garph