Skip to content

Conversation

@Techassi
Copy link
Member

This fixes two issues:

  • Variant rename validation errors showed up at the wrong place. It now used the span of the variant ident.
  • Variants not using PascalCase (for example: My_Variant) included the leading underscore in the generated variant name.
# Reviewer
- [ ] Code contains useful comments
- [ ] Changelog updated

@Techassi Techassi self-assigned this Aug 21, 2024
NickLarsenNZ
NickLarsenNZ previously approved these changes Aug 21, 2024
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Techassi Techassi requested a review from NickLarsenNZ August 21, 2024 09:46
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 chainzes

This snuck in because rust-analyzer doesn't remove trailing commas the same way it does for the format! macro.

Co-authored-by: Nick <[email protected]>
@Techassi Techassi requested a review from NickLarsenNZ August 21, 2024 09:50
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Techassi Techassi enabled auto-merge August 21, 2024 09:51
@Techassi Techassi added this pull request to the merge queue Aug 21, 2024
Merged via the queue into main with commit 79252b2 Aug 21, 2024
@Techassi Techassi deleted the fix/crd-versioning-validation-errors branch August 21, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants