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

fix: make FileInfo editable in PreUploadCreateCallback Hook #916

Closed
wants to merge 4 commits into from

Conversation

genofire
Copy link
Contributor

it would be nice to overwrite the hook.Upload.ID by the PreUploadCreateCallback.

@Acconut
Copy link
Member

Acconut commented Mar 26, 2023

Thank you for this PR! We want to implement a more capable pre-create hook in v2 of tusd, which is able to influence more details of the upload (e.g. ID, location, metadata). While we are still brainstorming and planning the exact implementation details and approaches, we would like to avoid merging PR like yours. I hope you understand this!

@genofire
Copy link
Contributor Author

is there any issue to follow?

@Acconut
Copy link
Member

Acconut commented Mar 27, 2023

The v2 release is tracked in #672 and additional discussions about pre-create feedback is in #814.

@Acconut
Copy link
Member

Acconut commented Jun 9, 2023

This PR is superseded by #962. Thank you for all of work on this and related PRs, @genofire!

@Acconut Acconut closed this Jun 9, 2023
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