phoenix_live_view
phoenix_live_view copied to clipboard
`client_meta` not available in the `UploadEntry` arg supplied to the `:progress` 3-arity function
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.