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
The below should be accurate. Right now, passing strictExample to entityFor does not persist the config for future .example() calls on instances.
strictExample - default false. Default behavior is to not run examples through Joi validation before returning.
If set to true, example will be validated prior to returning.
Note: in most cases, there is no difference. The only known cases where this may result in no example coming back are with regex patterns containing lookarounds.
The below should be accurate. Right now, passing
strictExample
toentityFor
does not persist the config for future.example()
calls on instances.strictExample
- defaultfalse
. Default behavior is to not run examples through Joi validation before returning.If set to
true
, example will be validated prior to returning.Note: in most cases, there is no difference. The only known cases where this may result in no example coming back are with regex patterns containing lookarounds.
The text was updated successfully, but these errors were encountered: