shakacode / re-formality

Form validation tool for reason-react
https://re-formality.now.sh
MIT License
244 stars 35 forks source link

feat: expose form interface type #61

Closed andrewlinfoot closed 4 years ago

andrewlinfoot commented 4 years ago

This PR exports the form.interface record type as a generic type. This is useful for creating re-usable form UI components that you can share across forms.

alex35mil commented 4 years ago

@andrewlinfoot Thanks for the PR but sadly it wouldn't fit the design of the next version of the library since interface will be specific to each form. Please, see #60 for details.

andrewlinfoot commented 4 years ago

@andrewlinfoot Thanks for the PR but sadly it wouldn't fit the design of the next version of the library since interface will be specific to each form. Please, see #60 for details.

awh, got it. New ppx API looks super promising! Excited to play around with it when it's released :)

Thanks for making this awesome lib btw!

alex35mil commented 4 years ago

Np 🙌