Skip to content

fix(enum): propagate namingConvention.transformUnderscore to convertNameParts #828

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

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

sutt0n
Copy link
Contributor

@sutt0n sutt0n commented Sep 23, 2024

When I introduced useEnumTypeAsDefaultValue via #640, I failed to propagate this prop down and this resulted in no control over underscores.

Docs are also updated.

@sutt0n
Copy link
Contributor Author

sutt0n commented Sep 23, 2024

@Code-Hex I believe that job is failing since the action is running against my fork, and not your repository; thus the ref to fix/name-parts doesn't exist.

@KamalAman
Copy link

+1 this PR, I just ran into these issues

@sutt0n
Copy link
Contributor Author

sutt0n commented Oct 8, 2024

@Code-Hex This is ready for your review at your convenience. 🙏

@sutt0n
Copy link
Contributor Author

sutt0n commented Oct 24, 2024

@Code-Hex Howdy, apologies for the double ping -- hope all is well with you! Just wanting to be sure to bump this, as others are having this same issue.

Copy link
Owner

@Code-Hex Code-Hex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sutt0n I'm sorry for delay response.
LGTM but Could you apply format with eslint because failed it : https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema/actions/runs/11238403086/job/31243096614?pr=828?

@Code-Hex
Copy link
Owner

Code-Hex commented Nov 7, 2024

I can handle it 🙏

@Code-Hex Code-Hex merged commit ec4dfb0 into Code-Hex:main Nov 7, 2024
1 of 2 checks passed
@sutt0n sutt0n deleted the fix/name-parts branch November 7, 2024 16:34
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.

3 participants