forked from gfredericks/vcr-clj
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vcr-clj.core/with-cassette supports :arg-transformer option
I added a new `:arg-transformer` option that is analogous to the existing `:return-transformer` option. During both recording and playback, the original arguments are intercepted and replaced by `(apply return-transformer args)`, and these transformed arguments are passed to `arg-key-fn`, `recordable?`, and the recorded function. This feature is intended to enable serialization of HTTP request bodies for gfredericks#17
- Loading branch information
Showing
3 changed files
with
61 additions
and
17 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
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