Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enum case always in uppercase when converted in SDL #493

Open
madolala opened this issue Mar 7, 2023 · 1 comment
Open

Enum case always in uppercase when converted in SDL #493

madolala opened this issue Mar 7, 2023 · 1 comment

Comments

@madolala
Copy link

madolala commented Mar 7, 2023

Describe the bug
I found that the enums cases appears always in uppercase on SDL generated from Json openApis.

To Reproduce
Steps to reproduce the behavior:

  1. With the CLI : 'openapi-to-graphql oas.json --save schema.graphql' with lowercases enum in your oas
  2. Check the concerned enum in schema.graphql
  3. See that it's in upper

Expected behavior
Enum that respect cases

@MattBodey
Copy link

I'm also experiencing this, even when using the --simpleNames option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants