You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if custom logger (with new messages) is passed to both of them - duplicated messages.
if only Multi (or DataValidator) has the custom logger - the other one throws exception because its' default logger doesn't recognize custom error codes.
(I need DataValidator inside Multi because besides the form fields I need to validate the whole request to detect too big file uploads, but I guess it can be reproduced with other combinations too)
The text was updated successfully, but these errors were encountered:
AlexP11223
changed the title
Multi + DataValidator+ custom validators not usable
Multi + DataValidator + custom validators not usable
May 20, 2021
@AlexP11223 it seems you know the codebase better than me, I don't use this since long time and last time I worked on something here was 4 years ago. So... do you have any proposal or idea how this can work?
Looks like using
Multi
withDataValidator
and custom validators (inside both of them) with custom error codes is not possible.Both
Multi
withDataValidator
call logger, which then checks error codes.So
Multi
(orDataValidator
) has the custom logger - the other one throws exception because its' default logger doesn't recognize custom error codes.(I need
DataValidator
insideMulti
because besides the form fields I need to validate the whole request to detect too big file uploads, but I guess it can be reproduced with other combinations too)The text was updated successfully, but these errors were encountered: