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

Modify Enum conversions to be case-insensitive/case-correcting #3880

Merged
merged 23 commits into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d518f94
Create AssertExprExpected and test
theunrepentantgeek Mar 15, 2024
e312f3a
Create MapLiteral and test
theunrepentantgeek Mar 15, 2024
81c035c
Code gardening
theunrepentantgeek Mar 18, 2024
e56a864
Generate mapping variable for each enum
theunrepentantgeek Mar 18, 2024
dbb57a0
Add AssertStmtExpected and test
theunrepentantgeek Mar 18, 2024
6d83ad6
Return declarations instead of statements for variable assignments
theunrepentantgeek Mar 18, 2024
854bc2f
Add AssertDeclExpected and test
theunrepentantgeek Mar 18, 2024
9f98525
Add IfExprOk and test
theunrepentantgeek Mar 18, 2024
6a0fd0a
Use mapping variable to convert enums
theunrepentantgeek Mar 18, 2024
0234dea
Update golden files
theunrepentantgeek Mar 18, 2024
3ad7c0c
Fix lint issues
theunrepentantgeek Mar 18, 2024
ec796de
Update crossplane files
theunrepentantgeek Mar 18, 2024
012e258
Add enum conversion function
theunrepentantgeek Mar 20, 2024
6e825b8
Change astbuilder custom asserts to internal
theunrepentantgeek Mar 21, 2024
481b930
Extend Statements() to support declarations
theunrepentantgeek Mar 21, 2024
b24adef
Force enum caches to internal
theunrepentantgeek Mar 21, 2024
faebf81
Use Values as the suffix for enum caches
theunrepentantgeek Mar 21, 2024
4836f5a
Use genruntime helper method
theunrepentantgeek Mar 21, 2024
63d3fe0
Add NeedsMappingConversion() predicate
theunrepentantgeek Mar 21, 2024
b233fab
Update generated files
theunrepentantgeek Mar 18, 2024
6395c87
Update golden files
theunrepentantgeek Mar 21, 2024
6711690
Fix lint and rebase issues
theunrepentantgeek Mar 21, 2024
aa111dd
Update crossplane
theunrepentantgeek Mar 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
83 changes: 83 additions & 0 deletions hack/crossplane/apis/cache/v1api20200601/redis_types_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading