Describe the bug
Adding a custom enum to the the typescript plugin config no longer works
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should import my custom enum and use it instead of the default generated one.
Environment:
Hi @NickClark, thank your for reporting this issue.
In 1.0.0, we changed enums to enumValues. Also, I found a bug in the declaration of it, and the ability to map an existing enum was missing.
I fixed and added the missing feature here: https://github.com/dotansimha/graphql-code-generator/pull/1518
Fixed in 1.0.1 馃殌
Thanks! I finally seem to have a working setup of 1.0, thanks! This is awesome work!
Most helpful comment
Thanks! I finally seem to have a working setup of 1.0, thanks! This is awesome work!