@rauan I’m going to work on form status next. I want to discuss if we really need these messages (option(string)
):
| Ready(`data, option(string))
| Error(list(`field, fieldStatus), option(string))
When server responds w/ success client knows that result is achieved (e.g. Document has been successfully updated
) and Ready('data)
status should be enough to derive this message inside render w/o additional argument in constructor. Same about Error
: all details are stored in list('field, fieldStatus)
and the fact that We couldn't save your blogpost
can be easily derived from Error(list('field, fieldStatus))
itself in render. Or am I missing some use cases?