Skip to content

patternMergeVariantArrays: false - not working #1270

@perriard

Description

@perriard

I have "patternMergeVariantArrays": false in my config, and yet it still merges my array.

I am using Pattern Lab Node v6.14.6 on Mac, with Node v12.18.3, with Twig template engine.

data.json has 4 items in the breadcrumb
sub-page.json has 2 items in the breadcrumb
article-page.json does not have a breadcrumb array

Expected Behavior

sub-page.html has 2 items in the breadcrumb
article-page.html has 4 items in the breadcrumb

Actual Behavior

sub-page.html has 4 items in the breadcrumb - the first 2 from sub-page.json and the last 2 from data.json
article-page.html has 4 items in the breadcrumb

Steps to Reproduce

as above

Metadata

Metadata

Assignees

No one assigned

    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