Matches a document whose _type is one of subjectTypes, narrowed to the
writes updates accepts. An empty subjectTypes means a subject entry
declares no types, and the leg becomes every document except the engine's
own. That admits more than the engine accepts: the rest of the reserved
sanity. and system. namespaces reaches the watcher, and
acceptsDocumentType declines it.
A prefilter only, so a match does not mean a definition starts: the watcher
re-checks applicability. Throws on a type outside
EMITTED_NAME_PATTERN, on a path holding a segment
assertEmittablePath rejects, and on a changedPaths kind carrying no
path, which names no update and is the noUpdate kind instead.
Matches a document whose
_typeis one ofsubjectTypes, narrowed to the writesupdatesaccepts. An emptysubjectTypesmeans a subject entry declares notypes, and the leg becomes every document except the engine's own. That admits more than the engine accepts: the rest of the reservedsanity.andsystem.namespaces reaches the watcher, andacceptsDocumentTypedeclines it.A prefilter only, so a match does not mean a definition starts: the watcher re-checks applicability. Throws on a type outside EMITTED_NAME_PATTERN, on a path holding a segment assertEmittablePath rejects, and on a
changedPathskind carrying no path, which names no update and is thenoUpdatekind instead.