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

Improve object.matching error report #18

Open
SimoneGianni opened this issue Aug 23, 2022 · 0 comments
Open

Improve object.matching error report #18

SimoneGianni opened this issue Aug 23, 2022 · 0 comments

Comments

@SimoneGianni
Copy link
Owner

Currently it is almost unreadable in a vscode error report.

It should look something like this:

{
  a: 1, // OK, expecting a number
  b: 5, // ----> ERROR: was expecting a string
  c: { // OK, expecting an object 
    d:1, 
    e:4,
  },
  f: { // ----> ERROR
    g: 3, // OK
    h: 7, // ----> ERROR: was expecting 9
  }
}
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