Skip to content

Regression introduced in 1.0.0-beta.19 [now unpublished from NPM] #269

@zmillman

Description

@zmillman

Backend.prototype._sanitizeSnapshots was refactored with a new method signature here: https://github.com/share/sharedb/pull/263/files#diff-29d0f208724d5ac92c70f70e7e8c230eR295

Unfortunately, that method is also used in another file:

emitter.backend._sanitizeSnapshots(emitter.agent, emitter.snapshotProjection, emitter.collection, snapshots, snapshotType, function(err) {

This breaks any middleware that is expecting to receive a request param -- it will receive a string as the request value instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions