Add resource reference generator camel case config#61978
Merged
Conversation
48bfeb7 to
5a37fb9
Compare
5a37fb9 to
97eb074
Compare
aadc-dev
approved these changes
Dec 4, 2025
bbb3d18 to
118ad4a
Compare
118ad4a to
dddb81c
Compare
Contributor
Author
|
@strideynet Let me know if you have any questions about this one! |
733e4d0 to
5ca7af3
Compare
9421455 to
bc09b66
Compare
zmb3
approved these changes
Jan 7, 2026
The resourcer reference generator splits camel-cased type names in order to create section headings. However, for terms that are already camel cased, such a `MySQL`, the splitting logic creates headings that make type names difficult to reason about. This change allows us to pass a configurable list of camel-cased keywords and abbreviations to the generator. The generator only adds spaces after these strings, not within them. While the generator previously preserved abbreviations automatically, we now need to pass abbreviatons to the exception list. This change adds camel case exceptions to the configuration in order to preserve the two pages that we currently generate.
bc09b66 to
bcc86a7
Compare
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The resourcer reference generator splits camel-cased type names in order to create section headings. However, for terms that are already camel cased, such a
MySQL, the splitting logic creates headings that make type names difficult to reason about.This change allows us to pass a configurable list of camel-cased keywords and abbreviations to the generator. The generator only adds spaces after these strings, not within them. While the generator previously preserved abbreviations automatically, we now need to pass abbreviatons to the exception list.
This change adds camel case exceptions to the configuration in order to preserve the two pages that we currently generate.