Closed anatoly-scherbakov closed 1 month ago
This seems like a good way to go, particularly if we either remove this property when calling the JSON-LD algorithms, or set it explicitly to json-ld-1.1
. This would repurpose processingMode
to have a behavior in YAML-LD processing independent from its behavior in JSON-LD processing.
Why
JSON-LD 1.1 API spec states the following about
processingMode
parameter:YAML-LD spec in its non-normative part defines the
extendedYAML
flag:I feel we might have a duplication.
Proposal
What if we write
instead?
Consequences
processingMode
option as per https://github.com/json-ld/yaml-ld/issues/139 - instead,json-ld-1.0
value MUST cause the processor to throw an error :boom: .