Skip to content

Transparently merge service catalog attributes

Hercules Merscher requested to merge objects-nested-merge into master

Closes gitlab-com/gl-infra/scalability#2609 (closed)

The objects.nestedMerge function introduced works similarly to std.mergePatch, but it can operate on top of objects instead of plain JSON. That means it will merge objects containing methods too. This allows safely overriding service catalog objects without removing its defaults (when not specified).

Edited by Hercules Merscher

Merge request reports