RelayMark.Contract (relay_mark_elixir v0.7.5)

Copy Markdown View Source

The single canonical editor and sync compatibility contract.

Summary

Functions

Admits a stored or received document descriptor only when it is exactly this engine's contract (version, schema, source contract and physical schema hash). Any other descriptor, such as the hashless one of a document that still holds aggregate question settings, is refused so the host recovers through its existing path instead of reading it.

Functions

admit(descriptor)

Admits a stored or received document descriptor only when it is exactly this engine's contract (version, schema, source contract and physical schema hash). Any other descriptor, such as the hashless one of a document that still holds aggregate question settings, is refused so the host recovers through its existing path instead of reading it.

descriptor()

schema()

source_contract()

version()