-
Notifications
You must be signed in to change notification settings - Fork 174
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
Enforce nullability at deser time #405
base: 2.12
Are you sure you want to change the base?
Conversation
@rafalbednarczuk Have you signed the CLA? If not, would you fill it out and email a scan/photo of the result to info at fasterxml dot com? https://github.com/FasterXML/jackson/blob/master/contributor-agreement.pdf |
@viartemev @cowtowncoder What do you think of this new exception type? |
@viartemev Do you think adding this new exception type make sense? https://github.com/FasterXML/jackson-module-kotlin/pull/405/files#diff-f369947c6a2c8905a906e96bae39fef763c95f5b43aee145b9120319863a1487R24 class NullInputException(msg: String) : MismatchedInputException(null, msg) |
@rafalbednarczuk Have you submitted a CLA to Fasterxml? |
@rafalbednarczuk cc: @cowtowncoder This will allow us to post your name in the release notes, etc. |
I don't think we have CLA from the contributor fwtw. |
Fixes issue #373 by throwing
NullInputException
if a null value is to be deserialized into a non-null field.