Skip to content
Discussion options

You must be logged in to vote

In v4 when you are consuming the stream, then you have to perform validations manually as you are doing it right now. In v5, we have changed the behavior and the validations of its own.

Does this validation happen before the file is uploaded

Validation happens as stream gets consumed/read by the write stream and in case of error the write stream will stop consuming the read stream (the uploaded file stream)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rhadamez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants