Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More flexible matcher for query string #98

Open
YuryLapitsky-TomTom opened this issue Mar 25, 2024 · 0 comments
Open

More flexible matcher for query string #98

YuryLapitsky-TomTom opened this issue Mar 25, 2024 · 0 comments

Comments

@YuryLapitsky-TomTom
Copy link

Hello,

while using the library I faced that cassettes may contain sensitive information (e.g., API keys that are passed with GET request - domain.com?apiKey=XXX) which:

  1. could vary on CI and for local machine
  2. isn't secure to store as a plain JSON in a repo.

Thus, I'd like to add support parametersToIgnore for the Session, so later it could be used for interaction comparison and for removing parameters from the cassette.

Could you confirm if that would be accepted and if that's the case whether the suggested approach makes sense?

And thank you for the nice library, it's very useful for network layer testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant