-
Notifications
You must be signed in to change notification settings - Fork 19
Reducing common structs types or https://github.com/kube-rs/gateway-api-rs/issues/38 #147
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
shaneutt
merged 18 commits into
kube-rs:main
from
kubvernor:reducing_common_structs_types
Jul 15, 2025
Merged
Changes from 7 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
21ca93a
Reducing common struct types
dawid-nowak 14199f1
Added type reduction for enums and some more refactoring
dawid-nowak 514bc63
Reducing common struct types
dawid-nowak 4856841
Removal of intermediate dervied types, fixing bugs
dawid-nowak 609c9cd
Removal of processed folder, adding an ability to rename-only types, …
dawid-nowak 3847710
Resolving conflicts with main
dawid-nowak f08841e
Adding CHANGELOG and support for experimental APIs, which requires ad…
dawid-nowak 6a4199e
Update gateway-api/CHANGELOG.md
dawid-nowak b91120b
Update gateway-api/CHANGELOG.md
dawid-nowak b1f8ecd
Removing scripts, updating READMEs in type-reducer and other nits
dawid-nowak 6eb5d01
Removing comments from enum files
dawid-nowak 9e02c64
Fixing integration tests
dawid-nowak 65015b0
Update type-reducer/src/visitors.rs
dawid-nowak bbf952f
Update update.sh
dawid-nowak d6b633a
Update update.sh
dawid-nowak 59bc023
Update update.sh
dawid-nowak 30da35c
Update update.sh
dawid-nowak 9aadd9d
Merge branch 'main' into reducing_common_structs_types
dawid-nowak 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
Large diffs are not rendered by default.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Changelog | ||
|
|
||
| ## 0.2.0 | ||
|
|
||
| >[!IMPORTANT] | ||
| Breaking change | ||
|
|
||
| ### Changed | ||
| The structure of APIs has changed to promote the re-use of types in the generated code. The APIs are still generated with Kopium in the first step, but there is a second stage where additional task is executed to reduce and rename the Kopium-generated types. | ||
| While with this approach we can significantly reduce the surface of exposed APIs, it is also a breaking change. | ||
| See [issue](https://github.com/kube-rs/gateway-api-rs/issues/38) for more context. | ||
|
|
||
| ## 0.1.0 | ||
dawid-nowak marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ### Changed | ||
| Initial release. All types are generated with Kopium. | ||
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.
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.