You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Option to create path if "Path not found in document" #46
If I want to add a property with the path of /compilerOptions/module and the value of nodenext I am expecting the object to be:
{
"compilerOptions": {
"module": "nodenext"
}
}
Unfortunatey, jsonpatch crashes with the message of:
Path not found in document
So I have to split the path and create its parts individually which is quite cumbersome. Can this functionality instead be integrated into this library?
Activity
bennycode commentedon Jul 21, 2024
Here is my current workaround with an
ensurePathsfunction:I could improve the error handling if #41 gets implemented.