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

Better json reader errors for missing required field #51

Open
scf37 opened this issue May 19, 2019 · 0 comments
Open

Better json reader errors for missing required field #51

scf37 opened this issue May 19, 2019 · 0 comments

Comments

@scf37
Copy link
Contributor

scf37 commented May 19, 2019

Make better error message for this case

Input: {}
Class: case class Request(text: String)

Error text:

Tethys: Illegal json at '[ROOT]': Can not extract fields from json'text']
Jackson: text: field is required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant