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: Add support for modifiable retention policies & enable deleting retention policy assignment #420

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

arjankowski
Copy link
Contributor

No description provided.

Comment on lines +61 to +64
options: [
'modifiable',
'non_modifiable'
]
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you elaborate a bit on the reason for including the option to set modifiable as string? I thought this was done to allow new values without changing the code in the future (as it cannot be done with boolean flags), but I see that we are still limiting the possible options.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added this to be compatible with update method, when we can only update type to non-modifiable

@arjankowski arjankowski merged commit 26ab5b4 into main Nov 2, 2022
@arjankowski arjankowski deleted the aj/sdk-2028-retention-modifiable branch November 2, 2022 09:04
congminh1254 pushed a commit that referenced this pull request Jan 31, 2024
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.

2 participants