-
Notifications
You must be signed in to change notification settings - Fork 223
Open
Description
const validationError = jsonpatch.validate([
{ op: 'replace', path: '/firstName', value: 'first' },
// middleName does not exist
{ op: 'remove', path: '/middleName', value: 'middle' }
],
{ firstName: 'first', lastName: 'last' })
validationError.index // = 0
I was expecting it as 1. I am wrong to expect that?
Metadata
Metadata
Assignees
Labels
No labels