Open kikohs opened 6 months ago
we cloned this to a core op: https://dev.cables.gl/op/Ops.Json.ArraySetObjectValues
thank you!
we decided to remove this again before release, we think these kind of ops should better live in teams and/or extensions to not clutter the core namespace too much
https://cables.gl/op/Ops.Team.DecodeOpen_hDmNr9.ArraySetObjectValues
Updates each object in an array with new data from a corresponding array, based on a specified key
This op takes an array of objects and updates each object's specified key with new data from a corresponding array of values. It supports deep updates using dot notation to specify the path to nested object properties. Error handling ensures keys are valid and do not reference non-existent paths or malformed strings. Users can choose to modify the original array directly or work on a copy of it. If an error is encountered, the operation returns null and logs detailed error information.