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

feat: generalized approach to derive traits on top level struct #236

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

david-rusnak
Copy link
Contributor

Part of #232

Generates #kube[(derive="Trait")] for each trait (except JsonSchema) passed in to kopium using the --derive flag. For more info see: https://docs.rs/kube/latest/kube/derive.CustomResource.html#kubederive--trait

Signed-off-by: David Rusnak <drusnak@influxdata.com>
Copy link
Member

@clux clux left a comment

Choose a reason for hiding this comment

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

Thanks!

@clux clux merged commit 38055d9 into kube-rs:main Apr 30, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Passing --derive Default does not derive it for top level custom resource
2 participants