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
But I realized figuring out the exact type of 'WhatShouldGoHere' is a lot of work. If you are interested in implementing a feature like this, I suggest it has a syntax like this, and I can work on a pull request.
Thank you for creating this issue. Can you try replacing WhatShouldGoHere with v.GenericSchema? You can also use a TS generic the argument to be fully typed-safe. I can share example code later if you are interested.
I was working on generic template to be used to define many similar schemas:
But I realized figuring out the exact type of 'WhatShouldGoHere' is a lot of work. If you are interested in implementing a feature like this, I suggest it has a syntax like this, and I can work on a pull request.
The text was updated successfully, but these errors were encountered: