Files
mgmt/lang/interpret_test/TestAstFunc2/validate-hidden1.txtar
James Shubin ad0dd44130 engine: Don't force validation for hidden resources
I think this is what I want in most scenarios, is there a reason to do
otherwise? This is because we may wish to export incomplete resources,
where the remaining necessary fields for validation happens on collect.
2025-05-06 03:36:01 -04:00

12 lines
265 B
Plaintext

-- main.mcl --
line "whatever" {
#file => "", # specified on collect
#state => "", # specified on collect
content => "hello",
Meta:hidden => true, # should Validate even though fields are missing.
#Meta:export => ["*",],
}
-- OUTPUT --
Vertex: line[whatever]