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
For loading ALL of the extensions, I would love it to have an API of Validator.loadCoreExtensions() although I'm not sure how that would work since if we do require on the javascript side, it'll already pull in all the dependencies.
It might be better for userland if they need to import the rules they need, rather than adding 20 different rules when the
Validator
is pulled in.I'm still not sure how to do it but that's the end goal.
Also think of a good developer experience for loading all, of the core extensions.
Here's the proposed method
For loading ALL of the extensions, I would love it to have an API of
Validator.loadCoreExtensions()
although I'm not sure how that would work since if we do require on the javascript side, it'll already pull in all the dependencies.The only thing I can think off is:
Though, I'm not sure how the DX is.
The text was updated successfully, but these errors were encountered: