Skip to content

fix: rename schema subItems with sub_items#22444

Open
A4-Tacks wants to merge 1 commit into
rust-lang:masterfrom
A4-Tacks:exclude-config-rename
Open

fix: rename schema subItems with sub_items#22444
A4-Tacks wants to merge 1 commit into
rust-lang:masterfrom
A4-Tacks:exclude-config-rename

Conversation

@A4-Tacks
Copy link
Copy Markdown
Member

@A4-Tacks A4-Tacks commented May 25, 2026

Fixup #22416

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 25, 2026
@A4-Tacks A4-Tacks requested a review from ChayimFriedman2 May 25, 2026 08:07
@lnicola
Copy link
Copy Markdown
Member

lnicola commented May 25, 2026

Hmm, I always write subitem, not sub-item, as if it's a single word.

@A4-Tacks
Copy link
Copy Markdown
Member Author

Or change the renaming config of serde?

subItems, sub_items, subitems

However, considering that it has already been released, it may be necessary to consider breaking

@ChayimFriedman2
Copy link
Copy Markdown
Contributor

It is a breaking change (although the breakage is minimal). If we had come up with this initially, fine, but now, I don't think it's worth the breakage.

@lnicola
Copy link
Copy Markdown
Member

lnicola commented May 25, 2026

I wouldn't be that worried about the breaking change, most users didn't even update yet. There are more people who win the lottery than those who might be affected by this.

@ChayimFriedman2
Copy link
Copy Markdown
Contributor

True, on the other hand I wouldn't be worried about this change either. If it was something clearly better, maybe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants