Skip to content

Commit 19ed44c

Browse files
committed
config: Do not allow runtimes to ignore properties defined by the spec
Otherwise a runtime could silently ignore a property it didn't want to implement, which would be confusing for runtime callers [1]. This closes a potential loophole in the restriction from 766abd6 (runtime.md: Require 'create' to fail if config.json asks for the impossible, 2016-09-08, #559). [1]: #472 (comment) Signed-off-by: W. Trevor King <[email protected]>
1 parent 2e2d568 commit 19ed44c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ Values MAY be an empty string.
415415
## Extensibility
416416
Implementations that are reading/processing this configuration file MUST NOT generate an error if they encounter an unknown property.
417417
Instead they MUST ignore unknown properties.
418+
Properties defined for the [target platform](#platform) by the [declared version](#specification-version) of this specification MUST NOT be ignored.
418419

419420
## Configuration Schema Example
420421

0 commit comments

Comments
 (0)