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

SetProperties does not allow removing a Computed value #669

Open
pobeaulieucl opened this issue Mar 7, 2025 · 0 comments
Open

SetProperties does not allow removing a Computed value #669

pobeaulieucl opened this issue Mar 7, 2025 · 0 comments

Comments

@pobeaulieucl
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant