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

Add ErrorUnset option to DecoderConfig and Unset array to Metddata #225

Merged
merged 1 commit into from Apr 20, 2022

Commits on Dec 18, 2020

  1. Add ErrorUnset option to DecoderConfig and Unset array to Metddata

    This commit extends the DecoderConfig with an option to fail decoding
    if there exist fields in the target struct, which haven't been set
    during decoding due to a missing, corresponding value in the input map.
    
    Accordingly, the Metadata has been extended with an Unset array to
    receive all field names which have not been set during decoding.
    SaschaRoland committed Dec 18, 2020
    Copy the full SHA
    d91ccce View commit details
    Browse the repository at this point in the history