-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Auto delete file from directory? #2
Comments
Can you think of any sorts of errors where you would not want them deleted? |
I have no idea. Anyway, it can be disabled. |
Do you mean if there is an error within the I would hesitate to delete the upload once our middleware has done it's job and passed the details into the resolver. Any errors from that point on would be due to the application code and should be caught and handled by the application developer. |
I mean the second. |
Closing this in favour of #13. |
I think if there was an error thrown later in the resolver (or other middleware), the uploaded files should be deleted (optionally).
The text was updated successfully, but these errors were encountered: