Skip to content

optionMergeStrategies does not set 3rd "vm" argument for components #9623

@berniegp

Description

@berniegp

Version

2.6.8

Reproduction link

https://jsfiddle.net/ugv3rL7w/

Steps to reproduce

Assign a function to "Vue.config.optionMergeStrategies.created" that uses the 3rd "vm" argument.

What is expected?

The documentation for "optionMergeStrategies" states:

"The context Vue instance is passed as the third argument."

What is actually happening?

The "Vue.config.optionMergeStrategies.created" function does not receive a Vue instance when merging properties of components.


The "vm" argument is correctly passed when merging options of the root Vue instance, but not for components.

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