graphqlgen icon indicating copy to clipboard operation
graphqlgen copied to clipboard

⚙️ Generate type-safe resolvers based upon your GraphQL Schema

Results 67 graphqlgen issues
Sort by recently updated
recently updated
newest added

With the splitting of `graphqlgen.ts` into several files (as per https://github.com/prisma/graphqlgen/issues/115) the function of the `output` setting in `graphqlgen.yml` needs to be updated. Currently, it's used to specify a single...

area/config
rfc/0-needs-spec

## Description The outputted TS contains redundant type info. ## Steps to reproduce Here's my schema: ```graphql type Query { foo(bar: String!): String! } ``` Now, I run `yarn graphqlgen`...

area/generation
area/config

Previously, when the `TypeMap` was still a thing, it was possible to connect any interface to a generated type. Take the following example; I had three different types (`RegularChannelParent`, `OnboardingChannelParent`...

status/pr-welcome
area/docs

Currently only typescript types defined as `export interface MyType {}` are used by `graphqlgen`, but `export type MyType = SomeOtherType` should work too.

status/pr-welcome
area/generation
area/language-typescript

Support tslint interface rule ## Description Some projects have adopted https://palantir.github.io/tslint/rules/interface-name/ tslint interface rule making all interfaces starting with a captial I. graphqlgen does not comply with that and this...

area/config
area/language-typescript

It's a very common use-case to use GraphQL as a gateway (as opposing to a GraphQL monolith/service) in front of other services (e.g. gRPC, Thrift, ...). I'd like to explore...

kind/discussion
area/scaffolding

In the initial version of `graphqlgen` (formerly `graphql-resolver-codegen`) there was a first implementation of ReasonML support. We should bring this functionality back to life 🚀 Would be awesome if someone...

status/pr-welcome
area/generation
area/scaffolding
area/language-reason

The current scaffolding workflow relies on copy&pasting from a separate folder into the users actual resolver implementations. Ideally we'd manage to implement a workflow where the missing resolver functions/files would...

status/pr-welcome
kind/discussion
area/scaffolding
rfc/0-needs-spec

A common workflow for large scale projects is to write smaller self contained graphql schemas, and merge them into a single API via schema stitching. The current workflow for graphqlgen...

kind/discussion

The generation of `defaultResolvers` is pretty sophisticated as it's based on calculating the "type-safe intersection" of the GraphQL type definition and a TS interface definition. (In the future also for...

area/docs