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

::UploadIO is deprecated #206

Closed
amomchilov opened this issue Oct 31, 2023 · 1 comment
Closed

::UploadIO is deprecated #206

amomchilov opened this issue Oct 31, 2023 · 1 comment

Comments

@amomchilov
Copy link

Which SDK version are you using?

17.0.2

What's the issue?

constant ::UploadIO is deprecated

Steps/Sample code to reproduce the issue

Load the gem with a bundle that has multipart-post locked to version 2.2.0 or greater.

Observed Results:

A warning is emitted on this line, where the ::UploadIO constant is accessed:

Expected Results:

For there to be no warning.

I think all we need here is to switch to away from the "alias" and to the real constant:

-  class VideoIO < ::UploadIO
+  class VideoIO < Multipart::Post::UploadIO
@stcheng
Copy link
Contributor

stcheng commented Jan 23, 2024

resolved :)

@stcheng stcheng closed this as completed Jan 23, 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

No branches or pull requests

2 participants