Support `config.optionMergeStrategies`

feat(runtime-core): support `config.optionMergeStrategies`
Support `config.optionMergeStrategies`featsupport config optionmergestrategies runtime core

Committed by yyx990803

commit message
feat(runtime-core): support `config.optionMergeStrategies`

Note the behavior is different from Vue 2:
- merge strategies no longer apply to built-in options.
- the default value is now an empty object and no longer exposes merge
  strategies for built-in options.

Editor assessment

The subject `feat(runtime-core): support config.optionMergeStrategies` names the added option, and the body usefully contrasts it with Vue 2 — merge strategies no longer apply to built-in options and the default is now an empty object. `feat` and the `runtime-core` scope are accurate. Because the option is newly introduced rather than removed, the behavioural note does not require a `BREAKING CHANGE:` footer. Style is clean and imperative. The body explains the divergence from prior behaviour, which raises its instructional value; a line on why the simplification was made would make it exemplar material.

Browse categories

More feat examples · Back to search