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 3a96140 commit 4864518Copy full SHA for 4864518
src/Controllers/SchemaController.js
@@ -492,7 +492,7 @@ class SchemaController {
492
} else {
493
throw new Parse.Error(
494
Parse.Error.INCORRECT_TYPE,
495
- `schema mismatch for ${className}.${fieldName}; expected ${expected} but got ${type}`
+ `schema mismatch for ${className}.${fieldName}; expected ${expected.type || expected} but got ${type}`
496
);
497
}
498
0 commit comments