Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement server-side error support #29

Merged
merged 3 commits into from
Jun 20, 2019
Merged

Implement server-side error support #29

merged 3 commits into from
Jun 20, 2019

Conversation

hecrj
Copy link
Owner

@hecrj hecrj commented May 29, 2019

Fixes #20.

This PR basically adds an error : values -> Maybe String attribute to field configuration.

It also extends the Error type with an External value. This way the View can choose to treat these errors differently.

I have also changed the Signup example to showcase its usage.

@hecrj hecrj added the enhancement New feature or request label May 29, 2019
@hecrj hecrj added this to the 8.0.0 milestone May 29, 2019
@hecrj hecrj self-assigned this May 30, 2019
@AdrianRibao
Copy link

It looks pretty good to me!

@hecrj hecrj merged commit af5d52c into master Jun 20, 2019
@hecrj hecrj deleted the feature/field-errors branch June 22, 2019 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Best way to render server side errors
2 participants