Skip to content

SetProperties does not allow removing a Computed value #669

Closed
@pobeaulieucl

Description

@pobeaulieucl

When trying to remove ComputedValues from a collection using arangodriver.SetCollectionPropertiesOptions, the operation does not succeed. Neither setting ComputedValues to nil nor an empty array results in the computed values being removed.

Example:

options := arangodriver.SetCollectionPropertiesOptions{
    ComputedValues: []arangodriver.ComputedValue{},
}

err = col.SetProperties(ctx, options)

Expected Behavior:

Setting ComputedValues to an empty array or nil should remove any existing computed values on the collection.

Actual Behavior:

Computed values remain unchanged, and no removal occurs.

Metadata

Metadata

Assignees

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