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

hooks: Allow pre-create to change upload ID, meta data and storage details #962

Merged
merged 4 commits into from
Jun 20, 2023

Conversation

Acconut
Copy link
Member

@Acconut Acconut commented Jun 9, 2023

This PR adds a method for v2 to overwrite the upload ID and meta data from the pre-create hook. No other hooks can perform these changes later on and only a selected set of properties can be overwritten. We also add the ability to pass storage details to data stores to influence file names, for example, although no data store implements this yet.

Context and previous work, which this PR is based on:

@Acconut Acconut self-assigned this Jun 9, 2023
@Acconut
Copy link
Member Author

Acconut commented Jun 9, 2023

@genofire @JonasKaltenbach Let me know if you have any feedback for this PR :)

@Acconut Acconut marked this pull request as ready for review June 9, 2023 10:26
@jonaskaltenbachz
Copy link
Contributor

Hi @Acconut
Thank you for the PR. Looks good from my point of view 👍

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