Skip to content

PutCursorAsync is deprecated in ArangoDB 3.7 #326

Open
@DiscoPYF

Description

@DiscoPYF

Endpoint PUT /_api/cursor/{cursor-identifier} (PutCursorAsync.PutCursorAsync) is deprecated in ArangoDB 3.7 in favor of a new endpoint POST /_api/cursor/{cursor-identifier}.

https://www.arangodb.com/docs/3.7/http/aql-query-cursor-accessing-cursors.html#read-next-batch-from-cursor-deprecated

It is likely that the endpoint will be removed in a future version, so we should make the change at some point.

We could:

  • Create a new endpoint method, e.g. PostExistingCursor
  • Add another method overload to PostCursorAsync though it may not be very clear from a consumer point of view

There is also the question of compatibility with previous ArangoDB version. It might be a good idea to keep PutCursorAsync and mark it as "up to ArangoDB 3.6".

Metadata

Metadata

Assignees

Labels

ArangoDB 3.7Identify issues for supporting ArangoDB 3.7

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions