-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Bind original request to onFile
function this
#431
Conversation
Co-authored-by: Manuel Spigolon <behemoth89@gmail.com>
Not sure if I should change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if I should change package.json too and bump version to 7.5.1?
Nope
Any chance to get this approved and merged pls? |
what if onFile is an arrow function. |
when the user sets the arrow function, it should know that the |
Checklist
npm run test
andnpm run benchmark
and the Code of conduct
Gives access to original request via
this
ononFile
function. This should be useful to link file handler with original request or create unique IDs based on request id.Fixes #427