dotansimha / dotansimha/graphql-code-generator

Typescript Resolvers Plugin: Ability to provide a custom visitor

Open
#8,338 1 comment 0 reactions 0 assignees View on GitHub
core
Dominant language
TypeScript
Stars
11.3k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
23

Description

In Redwood, we need the ability to slightly modify how the `TypeScriptResolversVisitor` works, while keeping all of the other functionality within the typescript-resolvers plugin as is.

**Describe the solution you'd like**
Ability to pass a customResolver in the config via an import string

**Describe alternatives you've considered**
- passing visitor when we instantiate the plugin (but this does not match existing patterns of configuring codegen plugins

**Additional context**
See draft PR for discussion

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.