yaak
yaak copied to clipboard
Filter chaining by active environment
https://feedback.yaak.app/p/request-chaining-and-swapping-environments
This PR adds the ability to filter HTTP responses in the response.* template functions to ones sent in the active environment.
- Add
environment_idfield toHttpResponse,GrpcConnection, andWebsocketConnection - Add environment behavior selector to
response.*template function config
I thought about filtering all responses in the UI by active environment as well, but don't want to break anyone's existing workflows. I still think I want to do this, but Yaak will need proper onboarding for existing users, as well as a way to disable it.