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

Fix error reporting on inline structs in strict mode (#243) #244

Merged
merged 1 commit into from Aug 10, 2021

Conversation

quentinmit
Copy link
Contributor

Errors from inline structs were getting lost in strict mode.

@codecov-commenter
Copy link

Codecov Report

Merging #244 (367f635) into master (578512e) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #244   +/-   ##
=======================================
  Coverage   78.37%   78.37%           
=======================================
  Files          12       12           
  Lines        3417     3417           
=======================================
  Hits         2678     2678           
  Misses        505      505           
  Partials      234      234           

@quentinmit
Copy link
Contributor Author

This fixes unmarshaling errors but I also need to separate fix validation for inline structs; right now validation isn't being checked because unexpected fields are being checked first (and then discarded). Working on another commit to fix validation.

@goccy
Copy link
Owner

goccy commented Aug 10, 2021

Thank you for the contribution ! LGTM !

@goccy goccy merged commit 2f4c854 into goccy:master Aug 10, 2021
@quentinmit
Copy link
Contributor Author

Ah, you didn't wait for my subsequent commit. :)

I'll open another PR...

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

Successfully merging this pull request may close these issues.

None yet

3 participants