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

client_meta not available in the UploadEntry arg supplied to the :progress 3-arity function #3366

Open
DaTrader opened this issue Jul 24, 2024 · 0 comments

Comments

@DaTrader
Copy link

DaTrader commented Jul 24, 2024

Environment

  • Phoenix LiveView version (mix deps): LV 0.20.17

Actual behavior

RE: External upload

The UploadEntry provided to the external upload progress function has the client_meta field reset to nil, despite the meta being returned by the presign_upload/2 function.

Uploading as such works, but it's just that the client_meta is no longer available for the progress handler function.

Is this the intended behavior or an oversight?

Expected behavior

When the UploadEntry structure is provided to the progress upload handler, it should contain the client_meta field as returned by the :external 2-arity function.

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

1 participant