withValidators() prop wrapper (macro?), a lá withDefaults() #10312
michealroberts
started this conversation in
Ideas
Replies: 1 comment
-
Proposed similar thing 2 weeks ago :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just proposing an idea to the core team,
withValidation()
orwithValidators()
which could be used in a similar fashion towithDefaults
, and withwithDefaults
, e.g., with an API such as:or, perhaps:
Beta Was this translation helpful? Give feedback.
All reactions