-
-
Notifications
You must be signed in to change notification settings - Fork 16
fix(stackable-versioned): Validate kind, desired and current version #1061
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
Merged
Merged
Changes from 14 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
ee724da
fix: ConversionReview not working correctly.
sbernauer 35f1a8f
formatting
sbernauer 41776eb
Move tests into dedicated folder
sbernauer ca11c44
move fixtures
sbernauer db2f65c
Check Kind of send object
sbernauer a80857d
Add comment
sbernauer a42d579
changelog
sbernauer def0da2
Merge branch 'main' into test/conversion
sbernauer f88e0ad
clippy
sbernauer 1ef6561
Merge branch 'main' into test/conversion
sbernauer 073c481
Move kind check to from_json_value
sbernauer 548b300
Parse desired api version early
sbernauer 95a10ae
Remove leftover comment
sbernauer 9acd912
Update crates/stackable-versioned-macros/src/codegen/container/struct…
sbernauer 129d6b4
Update crates/stackable-versioned-macros/src/codegen/container/struct…
sbernauer 58b330b
Avoid stringify!
sbernauer d5a3109
adopt unexpected kind error message
sbernauer 4364c53
Add ParseApiVersionError variant
sbernauer 30b36dc
Update crates/stackable-versioned-macros/src/codegen/container/struct…
sbernauer 9fb395c
Apply suggestions from code review
sbernauer 4a79d52
Update crates/stackable-versioned/src/k8s.rs
sbernauer 8f77619
Move into tests folder
sbernauer cb3dbfe
to_string -> to_owned
sbernauer 119a845
Rename fn to try_from_json_object
sbernauer 83e2438
Remove try_prefix
sbernauer 7400d39
Move test inputs folder
sbernauer b7080ac
Rename run_for_file -> convert_via_file
sbernauer 3f9e21f
Derive copy, clone and debug
sbernauer 7605090
Merge branch 'main' into test/conversion
sbernauer 90884aa
try_from_json_object -> from_json_object
sbernauer 426e1b7
conversion.rs -> conversions.rs
sbernauer 21c1768
Merge branch 'main' into test/conversion
sbernauer 0bf0039
simplify noop match
sbernauer 1f6a7ef
Simply noop branch
sbernauer ab02a5e
YOLO
sbernauer 75ade7a
Add changelog entry
sbernauer cb26df9
changelog
sbernauer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.