Skip to content

jive-persistence-mongo is not compatible with the API of the default file persistence, it only accepts objects as data #2

Description

@naugtur

Passing a string as data argument to the save method causes the implementation here to pass the string to collection.update which throws an error.

if jive-persistence-mongo wants to support storing multiple data types, it needs to wrap the incoming data in a simple object.
Otherwise, consistency should be provided to the users by making the simpler storages throw errors in the same cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions