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

Run test to confirm type mismatch errors and opportunities #1171

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pietern
Copy link
Contributor

@pietern pietern commented Feb 2, 2024

Note: this PR only demonstrates the issue and doesn't solve it.

Changes

Confirm poor error message when provided with JSON that doesn't match the expected schema.

The default unmarshaller returns error:

invalid character '\n' in string literal

The dyn normalizer returns:

  • expected sequence, found map testdata/job_cluster_test.json:14:14
  • unknown field: name testdata/job_cluster_test.json:1:1

Tests

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

Successfully merging this pull request may close these issues.

None yet

1 participant