flickr / yakbak

Record and playback HTTP responses
MIT License
1.06k stars 84 forks source link

option to create custom hash/tape names #29

Closed stephenmathieson closed 7 years ago

stephenmathieson commented 7 years ago

First off, this package is awesome! Great work here =)

I'm currently moving an enormous codebase (all segment.com integrations) away from hitting 3rd party APIs in tests to use yakbak, but I'm hitting issues with APIs that require cache-busting query parameters (example: google-analytics).

Would you be open to a (backwards compatible) addition to the API that allows users to create their own hash function?

jeremyruppel commented 7 years ago

Totally! I think this is a great proposal. I'm going to close this and we can continue discussing over in #30.