Skip to content

Conversation

alanpoulain
Copy link
Member

Supersedes #5367.

@alanpoulain alanpoulain force-pushed the fix/graphql-enum-name branch from 23d3d3a to 397d12d Compare January 25, 2023 16:46
@alanpoulain alanpoulain merged commit f7c70b1 into api-platform:3.1 Jan 25, 2023
@jotwea
Copy link
Contributor

jotwea commented Jan 26, 2023

Today I applied this fix to my codebase and I am not totally fine with it @alanpoulain. As a side effect all the enum types are also suffixed with Enum in the generated graphql schema now. As I use the Apollo Code Generator to create TypeScript code out of the schema this will be a BC now.

I can workaround this on my clients. But wanted to let you know about it. So you can decide if this is OK or needs to be solved either.

@alanpoulain
Copy link
Member Author

Why would it be a BC? It was not working before, so it should not considered a BC in my opinion.

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

Successfully merging this pull request may close these issues.

2 participants