Closed ciorg closed 4 years ago
Fix in the works,
Rules to what you need:
{ "selector": "_exists_:field", "tag": "testme" }
{ "follow": "testme", "post_process": "extraction", "mutate": true, "source": "field", "target": "field", "exp": "[field]"}
OR
{ "selector": "_exists_:field", "tag": "field1-to-array"}
{ "follow": "field1-to-array", "post_process": "array", "fields": ["field"], "target":"field"}
trying to transform a single field in an incoming object without creating a new object. I need to retain all the properties of the incoming object and transform the one field on the record.
ldjson example
this returns the error
TypeError: Cannot read property '__id' of undefined
using an extraction:
creates a new object and the other properties are not carried over.
tried using "mutate": false and the result was the same.