Replies: 1 comment 2 replies
-
Just use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi 👋
I want to say that the
schema
parameter invalidateAnEntryName
can receive any generic Valibot String Schema. It can be wrapped withpipe
or not, doesn't matter. So, something likev.GenericSchema
but for String Schemas.In the previous version, I was just using
v.StringSchema
.Same for other schemas.
v.GenericObjectSchema
This is how I typed an Object Schema with Generic Entries in the previous version.
Beta Was this translation helpful? Give feedback.
All reactions