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
allow rewriters to modify parent result (#22) (809517d)
BREAKING CHANGES
Changes the behavior of Rewriter.rewriteResponse so that implementations modify the parent result instead of only returning the result of the key path.
refactor: remove direct mutation of rewritten responses
fix: use previous logic for rewriting array children
rewriter: expose parent object and element path to rewriter (#20) (62e8211)
BREAKING CHANGES
rewriter: This changes the definition of Rewriter.rewriteResponse. The path references the location of the element while the response points to the parent of the element. Combining these will result in the original behavior.