Skip to content

Document values in a collection with a default value is appended to the default value. #508

@JLedel

Description

@JLedel

Given the document definition:

public class MyDocument
{
    public List<string> MyList { get; set; } = ["ValueA"];
}

and the following document in Arango:

{
    "MyList": ["ValueB", "ValueC"]
}

the result from the SDK will be ["ValueA", "ValueB", "ValueC"] which is unexpected. The expected result is ["ValueB", "ValueC"].

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions