Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: prevent
req
being added twice to the response and request sta…
…rt log (#157) There is no way to know in the response log event handling if the request was already added through the child bindings in `onRequest`. And there was no way as a user to fix this behaviour properly. So now `req` will be added once but you need to make sure that you pass it in `childBindings` for the response. Request start event will have it regardless but also only once. This is a breaking change as some people will have removed the `req` from the `childBindings` to get around this issue. Fixes #91
- Loading branch information
1 parent
9a37128
commit 42b3df4
Showing
3 changed files
with
84 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