We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6571736 commit def3f39Copy full SHA for def3f39
1 file changed
src/objects.js
@@ -155,7 +155,7 @@ const ObjectGenerator = ({ schema } = {}) =>
155
}
156
157
const subTypeName
158
- = subType?.constructor === String ? subType : subType.name
+ = subType?.constructor === String ? subType : subType.name
159
160
throw new ValidationError({
161
message: `The field ${path}.${subField} should be a ${subTypeName} (${invalidData})`,
0 commit comments