MasoniteFramework / masonite

The Modern And Developer Centric Python Web Framework. Be sure to read the documentation and join the Discord channel for questions: https://discord.gg/TwKeFahmPZ
http://docs.masoniteproject.com
MIT License
2.21k stars 126 forks source link

Fallback route should be evaluated at the end #786

Closed eaguad1337 closed 1 month ago

eaguad1337 commented 10 months ago

Is your feature request related to a problem?

Routes are evaluated in order and if you have a Route.fallback() before more routes, these routes will never be evaluated.

What do we currently have to do now?

No response

Describe the solution you'd like

Make Route.fallback to be evaluated at the end.

Describe alternatives you've considered

No response

Would this be a breaking change ?

Anything else ?

No response