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
I have looked at the examples provided that may showcase my question here?
Package version eg. v9, v10:
v10.15.2
Issue, Question or Enhancement:
A zero time.Time passes the required validation in v10.15.2 but not in v10.15.1. Adding in WithRequiredStructEnabled to the New() func does enable the test to pass but I'm not sure if I should make this code change in our codebase; should the default behaviour have changed between these minor releases?
I've provided a sample test that passes in v10.15.1 but fails in v10.15.2.
Package version eg. v9, v10:
v10.15.2
Issue, Question or Enhancement:
A zero
time.Time
passes therequired
validation in v10.15.2 but not in v10.15.1. Adding inWithRequiredStructEnabled
to theNew()
func does enable the test to pass but I'm not sure if I should make this code change in our codebase; should the default behaviour have changed between these minor releases?I've provided a sample test that passes in v10.15.1 but fails in v10.15.2.
Code sample, to showcase or reproduce:
The text was updated successfully, but these errors were encountered: