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(stackable-versioned): Use enum for merged_crd instead of str #872

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

Techassi
Copy link
Member

Part of stackabletech/issues#507

This ensures that the user must use a valid version to specify which of the versions of the merged CRDs is stored. Previously, users could provide any str, which can lead to runtime errors.

Reviewer

Preview Give feedback

This ensures that the user must use a valid version
to specify which of the versions of the merged CRDs
is stored. Previously, users could provide any str,
which can lead to runtime errors.
@Techassi Techassi self-assigned this Sep 20, 2024
@Techassi Techassi marked this pull request as draft September 20, 2024 11:14
@Techassi Techassi changed the title feat: Use enum for merged_crd instead of str feat(stackable-versioned): Use enum for merged_crd instead of str Sep 20, 2024
@Techassi Techassi marked this pull request as ready for review September 20, 2024 11:24
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, just a query about enum containers and where this code should be.

@Techassi Techassi added this pull request to the merge queue Sep 24, 2024
Merged via the queue into main with commit 9f774d1 Sep 24, 2024
10 checks passed
@Techassi Techassi deleted the feat/crd-versioning-version-enum branch September 24, 2024 07:56
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