Skip to content

autoValue documentation for docId is misleading. #402

@OliverColeman

Description

@OliverColeman

Just spent some time figuring out why a findOne(this.docId) in an autoValue function was causing an error. The documentation for this.docId says docId: The _id property of the document being inserted or updated but it turns out it's not just the _id of the document, it's a filter query like { '$in': [ 'rg8gSYhGaNQaJ3X8p' ] }.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions