You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (jsonProp.type.isArrayType &¶mDef.type.arguments.getOrNull(0)?.type?.isMarkedNullable ==false&& (paramVal asArray<*>).any { it ==null }) {
114
-
paramType="array"
115
-
itemType =paramDef.type.arguments[0].type
122
+
if (propType.isArrayType && arguments.markedNonNullAt(0) && (paramVal asArray<*>).any { it ==null }) {
123
+
paramTypeStr="array"
124
+
itemType = arguments[0].type
116
125
}
117
126
118
-
if (paramType!=null&& itemType !=null) {
127
+
if (paramTypeStr!=null&& itemType !=null) {
119
128
throwMismatchedInputException.from(
120
129
ctxt.parser,
121
-
jsonProp.type,
122
-
"Instantiation of $itemType$paramType failed for JSON property ${jsonProp.name} due to null value in a $paramType that does not allow null values"
130
+
propType,
131
+
"Instantiation of $itemType$paramTypeStr failed for JSON property ${jsonProp.name} due to null value in a $paramTypeStr that does not allow null values"
0 commit comments