Skip to content

Allow target to the root of the document #16

@webmstr

Description

@webmstr

Input like this:

{ "MyArray": [ { "id": 1}, { "id": 2} ] }

will correctly make two events, but the data from the array will be location under a field named "MyArray", e.g.:

{
    "MyArray": {
        "id": 1
    }
},
{
    "MyArray": {
        "id": 2
    }
}

While you can specify a 'target' param to put the field somewhere else, there's no info on how to put the new fields at the root level of the new events, e.g.

{
    "id": 1
},
{
    "id": 2
}

This would prevent people from having to drop into ruby to move an arbitrary list of fields.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions