Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

ToCamelCase() when kLowerCamel now converts first char to lower. #7838

Merged
merged 2 commits into from
Mar 15, 2023

Conversation

paulovap
Copy link
Collaborator

ToCamelCase(input, true) converts first char to upper case, but ToCamelCase(input, false) keeps the case of the first char. We are changing its behavior to force a lower case.

@github-actions github-actions bot added c++ codegen Involving generating code from schema labels Feb 23, 2023
@paulovap paulovap force-pushed the pp/fix_lower_camel_case branch from 39b0c8b to 8e9a45f Compare February 23, 2023 10:49
ToCamelCase(input, true) converts first char to upper case, but
ToCamelCase(input, false) keeps the case of the first char. We are
changing its behavior to force a lower case.
@paulovap paulovap force-pushed the pp/fix_lower_camel_case branch from 8e9a45f to 4164699 Compare March 7, 2023 19:33
@paulovap
Copy link
Collaborator Author

paulovap commented Mar 7, 2023

@dbaileychess can you take a look at this one and check if my assumption is correct?

#7812 depends on this change.

@paulovap paulovap requested a review from CasperN March 13, 2023 09:45
@dbaileychess dbaileychess enabled auto-merge (squash) March 15, 2023 01:05
@dbaileychess dbaileychess merged commit d3d7e2e into google:master Mar 15, 2023
dbaileychess added a commit that referenced this pull request Mar 15, 2023
ToCamelCase(input, true) converts first char to upper case, but
ToCamelCase(input, false) keeps the case of the first char. We are
changing its behavior to force a lower case.

Co-authored-by: Derek Bailey <derekbailey@google.com>
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
…gle#7838)

ToCamelCase(input, true) converts first char to upper case, but
ToCamelCase(input, false) keeps the case of the first char. We are
changing its behavior to force a lower case.

Co-authored-by: Derek Bailey <derekbailey@google.com>
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
…gle#7838)

ToCamelCase(input, true) converts first char to upper case, but
ToCamelCase(input, false) keeps the case of the first char. We are
changing its behavior to force a lower case.

Co-authored-by: Derek Bailey <derekbailey@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema kotlin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants