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

Clarify return values of :external upload functions #2821

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

sax
Copy link
Contributor

@sax sax commented Sep 23, 2023

I recently ran into an issue where I wanted to return an error from my presign_url function when doing external uploads, and the only way I figured out how to do so was to find where it was executed inside of the upload channel.

This could certainly be more clear how it wires into an actual live view, but at the bare minimum explains the two return values that won't crash the channel.

@chrismccord chrismccord merged commit 2864bc0 into phoenixframework:main Dec 18, 2023
@chrismccord
Copy link
Member

❤️❤️❤️🐥🔥

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.

None yet

2 participants