-
Notifications
You must be signed in to change notification settings - Fork 370
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
fix: make CreateBucketRequest extend from BucketMetadata to allow all… #2489
fix: make CreateBucketRequest extend from BucketMetadata to allow all… #2489
Conversation
Making |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests?
regional?: boolean; | ||
requesterPays?: boolean; | ||
retentionPolicy?: object; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will removing this cause any issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It isn't removed. This interface now extends BucketMetadata
Lines 347 to 351 in 18eef67
retentionPolicy?: { | |
effectiveTime?: string; | |
isLocked?: boolean; | |
retentionPeriod?: string | number; | |
} | null; |
@danielduhh all tests are existing. Didn't make much sense to add unit tests to test each individual field is settable. |
64fc8d7
to
23d536c
Compare
… fields to be set
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #2454 🦕