Metadata
- Source
- FLUID-6164
- Type
- Improvement
- Priority
- Major
- Status
- Closed
- Resolution
- Migrated
- Assignee
- Antranig Basman
- Reporter
- Justin Obara
- Created
2017-07-04T15:18:53.961-0400 - Updated
2024-08-01T09:43:04.231-0400 - Versions
- N/A
- Fixed Versions
-
- 5.0
- Component
-
- Framework
- Tech. Documentation
Description
The documentation for options merging doesn't describe the default behaviour for how arrays are merged.
Currently it seems that arrays will merge by position, that is merging [1, 2, 3] onto ["a", "b", "c", "d"] would produce [1, 2, 3, "d"]. It also appears that if you want a shorter array that the original you'd need to specify a merge policy of "replace" for that option path.
see channel discussion: https://botbot.me/freenode/fluid-work/2017-07-04/?msg=88145239&page=1
Comments
-
Justin Obara commented
2024-08-01T09:42:55.206-0400 Migrated to https://github.com/fluid-project/infusion-docs/issues/300