Skip to content

Conversation

Techassi
Copy link
Member

@Techassi Techassi commented Nov 29, 2024

Part of stackabletech/issues#642

The generated CRD enum now uses the same visibility as the container definition (standalone mode) or the module (nested mode).

Before

#[versioned]
pub(crate) struct FooSpec {}

// Expanded to ...

pub enum Foo {}

After

#[versioned]
pub(crate) struct FooSpec {}

// Expands to ...

pub(crate) enum Foo {}

@Techassi Techassi self-assigned this Nov 29, 2024
@Techassi Techassi marked this pull request as ready for review November 29, 2024 09:19
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

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

LGTM

@Techassi Techassi added this pull request to the merge queue Nov 29, 2024
Merged via the queue into main with commit 5dcb07b Nov 29, 2024
8 of 10 checks passed
@Techassi Techassi deleted the feat/stackable-versioned-visibility-crd-enum branch November 29, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants