-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Port 2.0] Cherry pick move validation bugs (#21674)
## Description This PR fixes a bug (introduced in [this PR](bd66baf)) where the validation for the destination index was being done against the source array. Also renames `index` to `destinationIndex`, and `field` to `sourceField` and `destinationField` for clarity Also fixes the type validation for moved content.
- Loading branch information
Showing
2 changed files
with
193 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters