-
-
Notifications
You must be signed in to change notification settings - Fork 16
[Merged by Bors] - Config fragment/validation #445
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
Closed
Closed
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
90f5f67
Config fragment/validation
nightkr 86b7d98
Allow passing through attributes into fragments
nightkr 8f18204
Merge branch 'main' into feature/config-fragment
nightkr 06f8415
Use absolute paths
nightkr 8b43084
Support deriving Fragment for types with generics
nightkr fd9a1e2
Fix defaulting for generic types
nightkr ba905bc
Allow specifying custom type bounds
nightkr 421a6c6
derive(fragment) for resource config fragments
nightkr 6dea7bb
Move Option magic from Fragment macro into type system
nightkr 962763a
Move defaulting logic out of Fragment
nightkr b35f3ce
Rename OptionalFragment to Fragment
nightkr df989d8
Propagate default generics to generated fragment types
nightkr 3f22b0a
Convert resource types into Fragments
nightkr 8fabe4a
Adapt validation framework for zookeeper-operator conversion
nightkr 53986b8
Merge branch 'main' into feature/config-fragment
nightkr 64f11f7
Move merge macro implementation into derive/src/merge.rs
nightkr 35fce52
Try to document Fragment a bit
nightkr 6347059
Document `Fragment` macro
nightkr 15b1c78
Rename #[fragment(bounds)] and #[merge(bounds)]
nightkr 6340f29
Changelog
nightkr 50b8a12
Fix commons::resources example
nightkr 8a1e021
Merge branch 'main' into feature/config-fragment
nightkr d22d46e
Move changelog entries to the correct release
nightkr fa1a6ad
Update stackable-operator-derive/src/lib.rs
nightkr ff53bdb
Document that derive(Fragment) doesn't support enums
nightkr d38fb7b
Expand on why RequiredFragment exists
nightkr 2199d26
schemars has now released support for custom bounds!
nightkr b97bfbc
Merge branch 'main' into feature/config-fragment
nightkr d46bb8a
Eq all the things
nightkr 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
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
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
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.