Renames
This commit is contained in:
parent
819cc6bebb
commit
aefedce568
|
@ -1424,7 +1424,8 @@ describe.each([
|
|||
status: 400,
|
||||
body: {
|
||||
status: 400,
|
||||
message: 'Required field "name" is missing in view "view a"',
|
||||
message:
|
||||
'To make field "name" required, this field must be present and writable in views: view a.',
|
||||
},
|
||||
}
|
||||
)
|
||||
|
@ -1454,7 +1455,8 @@ describe.each([
|
|||
status: 400,
|
||||
body: {
|
||||
status: 400,
|
||||
message: 'Required field "name" is missing in view "view a"',
|
||||
message:
|
||||
'To make field "name" required, this field must be present and writable in views: view a.',
|
||||
},
|
||||
}
|
||||
)
|
||||
|
|
|
@ -30,7 +30,7 @@ const validateViewSchemas: CustomValidator<Table> = (table, helpers) => {
|
|||
)
|
||||
if (missingField) {
|
||||
return helpers.message({
|
||||
custom: `Required field "${missingField}" is missing in view "${view.name}"`,
|
||||
custom: `To make field "${missingField}" required, this field must be present and writable in views: ${view.name}.`,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue