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 3879d5f commit d69beb6Copy full SHA for d69beb6
src/users.js
@@ -14,7 +14,7 @@ function verifyUser(user, schema, schemaExtensions = []) {
14
coreOrDefaultAttributes.forEach(attr => {
15
assert.ok(
16
schemaAttributes.includes(attr) || schemas.includes(attr) || ['schemas', 'id', 'meta'].includes(attr),
17
- `User contains attribute not defined in schema: ${attr}`
+ `User contains attribute not defined in schema: ${attr}. Check schema ${schema.id} and extensions ${schemaExtensions.map(ext => ext.id).join(', ')}`
18
);
19
});
20
}
0 commit comments