Skip to content

Request: merge and removeBatch mutators #26

Closed
@lucasveigaf

Description

@lucasveigaf

Are you submitting a bug report or a feature request?

feature request

What is the current behavior?

If there's a need to insert multiple new items into the array, a loop will be necessary using push or insert, which is not optimal. The same applies for removing multiple items from the array.

What is the expected behavior?

I would like to have a mutator that accepts an array with new items and merges it with the field array. Also, another mutator that accepts an array of indexes to be removed from the field array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions