-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[s3-assets] some fields in AssetOptions are deprecated, but is that intended? #9447
Comments
@acomagu These properties are deprecated in favor of using the aws-cdk/packages/@aws-cdk/core/lib/fs/options.ts Lines 33 to 49 in 938f326
This is intended, as |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
@iliapolo Sorry for late reply. So now AssetOptions should extend CopyOptions from core module, shouldn't it? The documentation says the |
From user perspective, they think that they should not use |
@acomagu Yeah I see it can be confusing. I'll make the deprecation notice a little clearer. Thanks! |
Should this be re-opened? The deprecation notice remains confusing... |
I believe @skinny85 spent some time on this, right? |
Is there a plan for migrating other packages (e.g. aws-s3-deployment) that use aws-s3-assets right now to core? I don't think I can find an issue related to it. Isn't it possible to make that step without it being a breaking change, and therefore side step the issue with the confusing deprecation notices? |
Here's the summary of the situation, and how we will change it:
Hope this clears this up! Thanks, |
Gotcha, thanks for the explanation. |
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
The
exclude
andfollow
fields in AssetOptions interface were marked deprecated, because of #7708. But the pull doesn't seem to have the intension to deprecate them. If not, they should be fixed.This is a 📕 documentation issue
The text was updated successfully, but these errors were encountered: