### What is the type of issue? Documentation is Incorrect ### What is the issue? The code presented in the tutorial doesn't work when applied in the latest version of [Elysia](https://elysiajs.com/) ```javascript // Global middleware .onRequest(({ method, path }) => { console.log(`${method} ${path}`) }) ``` Using this, you will get `undefined /whatEverPathWasTriggered` It should be updated to be using: ```javascript // Global middleware .onRequest(({ request }) => { console.log(`${request.method} ${request.url}`); }) ``` To have the expected result. This could be due to the latest version? Or perhaps an outdated documentation? ### Where did you find it? [https://elysiajs.com/migrate/from-express.html#middleware](https://elysiajs.com/migrate/from-express.html#middleware)