Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PatchDocumentsResponse does not expose _oldRev #269

Closed
DiscoPYF opened this issue Jul 11, 2020 · 0 comments · Fixed by #270
Closed

PatchDocumentsResponse does not expose _oldRev #269

DiscoPYF opened this issue Jul 11, 2020 · 0 comments · Fixed by #270
Assignees
Labels
bug Something isn't working

Comments

@DiscoPYF
Copy link
Collaborator

DiscoPYF commented Jul 11, 2020

PatchDocumentsResponse is the model representing one object from the response when updating multiple document. In the response returned by ArangoDB, the key of the old document is provided in _oldRev. However PatchDocumentsResponse doesn't contain an equivalent for that property.

Example of response:

[
    {
        "_id": "MYTESTCLX/61264991",
        "_key": "61264991",
        "_rev": "_ax7nWEW---",
        "_oldRev": "_ax7j2pq--_"
    },
    {
        "_id": "MYTESTCLX/61264916",
        "_key": "61264916",
        "_rev": "_ax7nWEW--A",
        "_oldRev": "_ax7jvi2--_"
    }
]
@DiscoPYF DiscoPYF self-assigned this Jul 11, 2020
DiscoPYF added a commit to DiscoPYF/arangodb-net-standard that referenced this issue Jul 11, 2020
DiscoPYF added a commit to DiscoPYF/arangodb-net-standard that referenced this issue Jul 18, 2020
DiscoPYF added a commit to DiscoPYF/arangodb-net-standard that referenced this issue Jul 18, 2020
@DiscoPYF DiscoPYF added the bug Something isn't working label Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant