Optional file upload validation #1723
-
I'm doing validation on the schema. How do I validate a file only if a file is uploaded. I tried using the optional chaining.
|
Beta Was this translation helpful? Give feedback.
Answered by
thetutlage
Oct 8, 2020
Replies: 1 comment 1 reply
-
Isn't the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nickngqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Isn't the
file.optional
not working? And how did you verify that is not working?