light-my-request
light-my-request copied to clipboard
migrate to class
migrate to class syntax (Chain, request, response)
copied class from https://github.com/fastify/light-my-request/pull/252
but without changing the logic in lib/do-inject.js (doInject) (to resolve Test Fastify Integration)
Checklist
- [X] run
npm run testandnpm run benchmark - [X] tests and/or benchmarks are included
- [X] documentation is changed or added
- [X] commit message and code follows the Developer's Certification of Origin and the Code of conduct