data-model-spec
data-model-spec copied to clipboard
Do we need different stages of compatibility (e.g. support for variables)?
Variable support is optional. Can we just say variables are not supported if the constructor is undefined?
Maybe we should mention that implementation not supporting Variable (eg. all RDF1.1 serializes) MAY/SHOULD/MUST throw error if they encounter it? https://gitter.im/rdfjs/Representation-Task-Force?at=58c22b991465c46a560ff842
Looking at reference implementation: https://github.com/rdfjs/data-model/blob/master/lib/variable.js
Do we really need factories which don't implement DataFactory.variable()
?
We could just remove This method is optional. from the spec.