This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Description
While upgrading to Expressive 2 I found these new NotFoundDelegate and NotFoundHandler a bit confusing. 😕
The 2.0 docs suggests using NotFoundDelegate as default delegate and piping NotFoundHandler as the outermost (EDIT: inner) middleware, which makes no sense for me since NotFoundHandler uses NotFoundDelegate internally and NotFoundDelegate would be called anyway if NotFoundHandler was not piped.
As such, to avoid confusion I'd suggest removing the "default delegate" concept and recommend usage of "catch-all" middlewares only.
Thoughts?