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

Add metadataForPartialUploads option to set metadata for partial uploads only #703

Merged
merged 6 commits into from
Sep 9, 2024

Conversation

loren-m-crawford
Copy link
Contributor

@loren-m-crawford loren-m-crawford commented Jul 16, 2024

This is an alternative option to this PR which proposes having the option to retain metadata on partial upload requests. Instead of maintaining the metadata from the original request, this PR adds the option for partialMetadata, which would allow folks to set metadata only for partial requests. This could be the same or different from the original metadata, which allows for more flexibility.

@loren-m-crawford loren-m-crawford marked this pull request as ready for review July 16, 2024 16:14
@Acconut
Copy link
Member

Acconut commented Sep 9, 2024

I'm deeply sorry for not reviewing this earlier! I just had a look at it and polished the implementation, tests and docs. Thank you for working on this PR!

@Acconut Acconut changed the title Add option for partials metadata Add metadataForPartialUploads option to set metadata for partial uploads only Sep 9, 2024
@Acconut Acconut merged commit 580bf98 into tus:main Sep 9, 2024
4 of 5 checks passed
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.

2 participants