Skip to content

Vector fields are overwritten instead of merged #435

Open
@dhruvkb

Description

@dhruvkb

Consider the following config.

struct Conf {
	nums: Vec<i32>
}

This is built and given two config files.

# a.yml
nums:
- 1
- 2
# b.yml
nums:
- 3
- 4

The output of this configuration is that nums has only [3, 4]. Vectors should be merged, and nums should contain [1, 2, 3, 4].

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions