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
Version: v3.8.0 Environment: Ubuntu 20.04, Go 1.16 Reproduces: rarely
Because validation.Rules is a map, iteration order is not guaranteed, meaning that rules that rely on a certain order of validation (such as dates before/after) and where conversion is needed will randomly not pass even if the request is valid.
Potential fix: pre-process sorted list of keys by checking presence of field comparison rules
The text was updated successfully, but these errors were encountered:
Bug report
Version: v3.8.0
Environment: Ubuntu 20.04, Go 1.16
Reproduces: rarely
Because
validation.Rules
is a map, iteration order is not guaranteed, meaning that rules that rely on a certain order of validation (such as dates before/after) and where conversion is needed will randomly not pass even if the request is valid.Potential fix: pre-process sorted list of keys by checking presence of field comparison rules
The text was updated successfully, but these errors were encountered: