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

Preserve defaults for zero initialised structs as well #442

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yhabteab
Copy link

@yhabteab yhabteab commented Mar 29, 2024

Before submitting your PR, please confirm the following.

---
first: "Test"
second: # The decoder will always zero-initialise this nested struct and override the defaults
  # Just some comment here
#  val: "default"
  • Create test code that corresponds to the modification

fixes #441

@codecov-commenter
Copy link

Codecov Report

Merging #442 (1d13c5f) into master (4653a1b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #442      +/-   ##
==========================================
+ Coverage   76.02%   76.03%   +0.01%     
==========================================
  Files          13       13              
  Lines        4692     4695       +3     
==========================================
+ Hits         3567     3570       +3     
  Misses        866      866              
  Partials      259      259              

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.

Decoder overrides defaults with null values
2 participants