MichalLytek / MichalLytek/type-graphql

support enums in orphanedTypes

Open
#1,783 2 comments 0 reactions 1 assignee Claimed by @zoltan-mihalyi View on GitHub
Community :family_man_girl: Enhancement :new: Need More Info :man_shrugging:
Dominant language
TypeScript
Stars
8.1k
Forks
672
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

I had to add orphaned types, including an enum type.

**Describe the solution you'd like**

Make orphanedTypes config accept enum values, or add an orphanedEnums config

**Describe alternatives you've considered**

Monkey-patch SchemaGenerator.buildOtherTypes, to handle enums

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.