Skip to content

Commit

Permalink
Merge pull request #199 from ProjectMapK/k163377-patch-1
Browse files Browse the repository at this point in the history
Fixed forgetting to delete temporary code
  • Loading branch information
k163377 authored Dec 20, 2023
2 parents c652531 + d3d1f35 commit a8bb30d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ internal class KotlinValueInstantiator(
} else {
val isMissingAndRequired = isMissing && jsonProp.isRequired
if (isMissingAndRequired || !(paramDef.isNullable || paramDef.isGenericType)) {
InvalidNullException.from(ctxt, jsonProp.fullName, jsonProp.type)

throw InvalidNullException
.from(ctxt, jsonProp.fullName, jsonProp.type)
.wrapWithPath(this.valueClass, jsonProp.name)
Expand Down

0 comments on commit a8bb30d

Please sign in to comment.