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: added methods for signed-url upload #152

Closed
wants to merge 1 commit into from

Conversation

rawnly
Copy link

@rawnly rawnly commented Mar 11, 2023

What kind of change does this PR introduce?

Adds support for signed-url upload as introduced in v0.30.0 via supabase/storage#282

What is the current behavior?

No method is provided.

What is the new behavior?

Expose the createUploadSignedUrl and uploadToSignedUrl methods

Additional context

Tests aren't passing, I'm sure something is wrong with the environment.
I'm open to suggestions / improvements.

  • The error received from the server is 400 - The parent resource is not found

I'm also aware that method names aren't the best but I wanted to do a POC to see if this is relevant to you.
An improvement could be using function overloading to avoid method duplication.

@rawnly rawnly marked this pull request as draft March 11, 2023 20:54
@fenos
Copy link
Contributor

fenos commented Apr 6, 2023

@rawnly Thanks a lot for the PR i will take over!!

Much appreciated it!!

@inian
Copy link
Member

inian commented Apr 11, 2023

Hi @rawnly, we worked off your PR as the base, made some changes and merged it here. Thanks a lot for your contribution ❤️

@inian inian closed this Apr 11, 2023
@rawnly rawnly deleted the feat/upload-signed-url branch April 11, 2023 07:46
@rawnly
Copy link
Author

rawnly commented Apr 11, 2023

@inian awesome! Happy to help ✌️

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.

3 participants