-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle merging dotted object names when merging V2 template mappings (#…
…55982) When merging component template, index template, and request mappings, we now treat any declaration of a top-level field the same as replacing all sub-objects. For example, assuming two component templates with mappings and template B taking precedence: ``` A: {foo: {...}} B: {foo.bar: {...}} Result: {foo.bar: {...}} A: {foo.bar: {...}} B: {foo: {...}} Result: {foo: {...}} A: {foo.bar: {...}} B: {foo.baz: {...}} Result: {foo.baz: {...}} ``` Relates to #53101
- Loading branch information
Showing
2 changed files
with
88 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters