Skip to content

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

Merged
mjpt777 merged 1 commit intoaeron-io:masterfrom
pliard:fix-java-enum-case
Nov 28, 2023
Merged

[Java] Support camelCase enum type identifiers for value refs#963
mjpt777 merged 1 commit intoaeron-io:masterfrom
pliard:fix-java-enum-case

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
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