Skip to content

Should use the cas value #10

@janober

Description

@janober

This is related to #8. Where the cas is returned on document create with the id.

Like written there, the documents should always be exactly the same (no matter if query or create). However would be good if the cas would always be returned in for example "_cas", "_metadata.cas" or whatever. On save the connector should then use the cas when present to see if it matches with the current one and only update when they match. If not it should error with "cas mismatch" so that the application can change the data again based on the now current-document.

This is very important because there is no locking and data will else be overwritten all the time.

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