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
How do I derive a schema adding things to its pipe? I got it working with the following snippet, but it's definitely confusing:
// a fileconstLoginSchema=v.object({email: v.string([v.minLength(1),v.email()]),password: v.string([v.minLength(1),v.minLength(8)]),})// another fileconstCreateLoginSchema=v.intersect([LoginSchema,v.object({)],[checkEmailAvailabiliy,// validations/transformations I want to add checkPasswordRules// on top of the previous schema])
The text was updated successfully, but these errors were encountered:
How do I derive a schema adding things to its pipe? I got it working with the following snippet, but it's definitely confusing:
The text was updated successfully, but these errors were encountered: