Closed ruisebas closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 68.43%. Comparing base (
806a75c
) to head (90c315c
). Report is 4 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issue \
Description
When we introduced the new
path: StoragePath
parameters for the Storage APIs, we deprecated the old ones usingkey: String
. However, we only did so in the category protocol and not in the category implementation itself, which results in the warning not being propagated to the users becauseAmplify.Storage
is not typed to the protocol, but rather to the actual implementation.So in order to discourage the usage of these APIs and raise awareness of the new ones, I'm adding the deprecation annotations to the category as well.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.