Because toPascalCase was dropped in GraphQL Codegen > 1.11.0, this plugin just crashes when used. This quick fix implements the removed toPascalCase helper into the codebase.
@ardeois thanks!
I think I'm also gonna make a PR soon (haven't updated the tests) for the pascal case and upper case support of the enums
Spotted the issue today
Because
toPascalCase
was dropped in GraphQL Codegen > 1.11.0, this plugin just crashes when used. This quick fix implements the removedtoPascalCase
helper into the codebase.