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
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
@@ -1364,6 +1364,7 @@ export default class TemplateProcessor {
}else{
if(jsonPointer.endsWith("/-")){//happens when we patch an array like /foo/myarray/- indicating "append"
_jsonPointer=jsonPointer.split("/-")[0];//ditch the trailing /-
data=jp.get(this.output,_jsonPointer);//this may be somewhat of a hack, but /foo/myarray/- is not an actual json pointer. It is the array itself that is the changed data