adonisjs / v6-docs

Documentation website for AdonisJS v6
38 stars 53 forks source link

Update middleware.md #36

Closed amir-mohammad-HP closed 4 months ago

amir-mohammad-HP commented 4 months ago

the type definition explanation for adding a new property to context was missed in documentation for modifying the context in dependency injection

i have explained how that would be done

thetutlage commented 4 months ago

The same is explained in the "Extending AdonisJS" guide. https://docs.adonisjs.com/guides/extend-adonisjs So it is not needed in the HttpContext guide.