Skip to content

updateDocument / updateDocuments inconsistency #180

Closed
@hepworthjd

Description

@hepworthjd

Hello,

I think there is an inconsistency with updateDocument and updateDocuments with regard to this - looking at the source for the former I see:

		request.setBody(
			util().serialize(values, new ArangoSerializer.Options().serializeNullValues(false).stringAsJson(true)));

compared to the latter:

		request.setBody(util().serialize(value, new ArangoSerializer.Options()
				.serializeNullValues(params.getSerializeNull() == null || params.getSerializeNull())));

This means I have to use multiple calls to updateDocument if I want null values removed

Thanks
Julian

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions