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 625cc64 commit 789605bCopy full SHA for 789605b
script/core/diagnostics/missing-fields.lua
@@ -70,8 +70,8 @@ return function (uri, callback)
70
71
for _, field in ipairs(fields) do
72
if not field.optional
73
- and not vm.compileNode(field):isNullable()
74
- and field.type == "doc.field" then
+ and field.type == "doc.field"
+ and not vm.compileNode(field):isNullable() then
75
local key = vm.getKeyName(field)
76
if not key then
77
local fieldnode = vm.compileNode(field.field)[1]
0 commit comments