Add call to InitDefaults when structs implement Initializer interface during Unpack.#141
Conversation
Codecov Report
@@ Coverage Diff @@
## master #141 +/- ##
=========================================
- Coverage 77.94% 77.6% -0.35%
=========================================
Files 23 24 +1
Lines 2612 2643 +31
=========================================
+ Hits 2036 2051 +15
- Misses 425 440 +15
- Partials 151 152 +1
Continue to review full report at Codecov.
|
|
@urso I did some more work on the PR to allow nested structures that are not defined in the configuration to still have I am still having issues with getting the primitive to work properly. The I think the issue is in I think the issue is how the field is pointerized and the value is not actually set in the address location that is defined in the structure. |
|
@urso This is ready for another review. |
|
@urso I have removed the need for To completely remove the need for |
Call the
InitDefaultsduringUnpackwhen a structure implements theInitializerinterface. This allows a structure to define its default values without having to push the defaults into the loaded configuration.Closes #104