-
Notifications
You must be signed in to change notification settings - Fork 96
WAL Tail API returns only single object #591
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
Comments
Hi @m4ttek , the problem is caused by the fact that this API return response with
But the serde only supports Json or Velocypack content types, therefore cannot handle these payloads. To work around it, in #592 I have fixed the issue for deserialization targets |
@rashtao great, many thanks for quick response and fix. I'm looking forward to a new version of arango driver |
I've checked it and it's working now. Thanks |
The following code always returns single object, even if WAL TAIL API (https://docs.arangodb.com/3.12/develop/http-api/replication/write-ahead-log/#tail-recent-server-operations) returns multiple json objects:
As far as I investigated it, it's caused by Jackson behaviour which only allows for properly defined json objects. Unfortunately, json objects are not wrapped in array in Arango API.
I tried using RawJson type - it doesn't matter.
The text was updated successfully, but these errors were encountered: