Replies: 1 comment
-
Would be consistent with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since a file upload field in a
multipart/form-data
form always generates anMojo::Upload
object even if there is no file specified, thenwill never remove
my_file
if there was no file specified in the upload.I'm wondering whether it would make sense to change the
not_empty
filter to something similar toThen at least it also works with objects that has a
->size
method likeMojo::Upload
.not_empty
is currently implemented using thelength
line.Beta Was this translation helpful? Give feedback.
All reactions