This commit is contained in:
Alberto Giunta
2022-09-29 15:05:27 +02:00
committed by GitHub
parent 2f9ba324a0
commit f6c6b67096

View File

@@ -93,7 +93,7 @@ export function getAttributesFromExtensions(extensions: Extensions): ExtensionAt
...attribute,
}
if (attribute.isRequired && attribute.default === undefined) {
if (attribute?.isRequired && attribute?.default === undefined) {
delete mergedAttr.default
}