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

[Java] Support camelCase enum type identifiers for value refs #963

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

pliard
Copy link
Contributor

@pliard pliard commented Nov 27, 2023

The type identifier was previously used as-is (e.g. carFilterType) in
the generated code for uses of valueRef while generated Java enums
always start with a capital letter (CarFilterType).

See the added test in ValueRefWithLowerCaseEnum.java.

@pliard pliard marked this pull request as ready for review November 27, 2023 14:19
@mjpt777
Copy link
Contributor

mjpt777 commented Nov 28, 2023

Please provide more detail as this would be a breaking change for existing code.

The type identifier was previously used as-is (e.g. `carFilterType`) in
the generated code for uses of `valueRef` while generated Java enums
always start with a capital letter (`CarFilterType`).

See the added test in ValueRefWithLowerCaseEnum.java.
@pliard pliard force-pushed the fix-java-enum-case branch from b05dcfd to 0a96b2f Compare November 28, 2023 13:39
@pliard
Copy link
Contributor Author

pliard commented Nov 28, 2023

Please provide more detail as this would be a breaking change for existing code.

Thanks for the quick reply. Please take another look. I've added a test to show the issue.

@mjpt777 mjpt777 changed the title [Java] Support camelCase enum type identifiers [Java] Support camelCase enum type identifiers for value refs Nov 28, 2023
@mjpt777 mjpt777 merged commit dd6063f into aeron-io:master Nov 28, 2023
31 checks passed
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