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
feat: global state inside proxy and dynamic request and response rules (#46)
* feat: support for custom state inside proxy and request/response rules
* refactor: rename state interface attributes for external use
* fix: fix typos that should have been avoided when copying code from response_processor to request_processor
* refactor: reduce state drilling by creating singleton - GlobalStateProvider
* refactor:
- separate function generation and execution logic (to avoid random dataflow of sharedState as args across the code)
- rename the exposed sharedState variable
* refactor: make redundant sharedstate refs logic more readable
0 commit comments