Skip to content

routier-collection


routier-collection / core/src / deserializeBulkPersist

Function: deserializeBulkPersist() ​

deserializeBulkPersist(request, resolveSchema): object

Defined in: core/src/plugins/wire/persist.ts:63

Rebuilds a change set from its wire form, keyed by the RECEIVER's schema ids.

Parameters ​

request ​

SerializedPersistRequest

resolveSchema ​

SchemaResolver

Returns ​

object

changes ​

changes: BulkPersistChanges

schemas ​

schemas: CompiledSchema<any>[]

Throws ​

when a named collection is not one this store declares. A save aimed at data this side does not have must not be silently dropped — the caller would be told it succeeded.

Released under the MIT License.