Add missing 'format' reserved model word. (#8194)

* Add missing 'format' reserved model word.

* Move reserved word to attribute name.

Co-authored-by: Matt Kirkland <mkirkland616@gmail.com>
This commit is contained in:
chachew 2020-10-07 08:06:59 -05:00 committed by GitHub
parent 755d216fbe
commit e0287c8d27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,7 @@ const RESERVED_ATTRIBUTE_NAMES = [
'schema',
'toObject',
'validate',
'format',
];
module.exports = {