@MonoidMusician asked about "two step validation":
- @paluh: What do you mean by "sync and async errors"?
- @MonoidMusician: if one part of the validation has to check something with the server but the other is a quick “is this syntax right”, it seems like those could be validated independently or something ...
Let's try to implement this scenario using Input.Interpret - I'm not sure if it is possible though:
- @paluh: One "dirty" solution to your "two step" validation could be:
- build form using
Polyform.Input.Interpret primitives + your own *F validation types
- construct first interpretation which runs in browser and skips remote validation "somehow"
- construct second interpretation which runs also remote calls