Skip to content

Merge.js multiple override: entries #2684

Open
@zachleat

Description

@zachleat

Originally posted by @Snapstromegon #2470 (comment)

  t.deepEqual(
    Merge(
      {
        a: {
          "override:b": {
            c: [1],
          },
        },
      },
      {
        a: {
          "override:b": {
            c: [2],
          },
        },
      }
    ),
    {
      a: {
        b: {
          c: [1,2],
        },
        "override:b": {
          c: [1,2],
        },
      },
    }
  );

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions