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.
12 lines
265 B
Plaintext
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]
|