dingo / api

A RESTful API package for the Laravel and Lumen frameworks.
BSD 3-Clause "New" or "Revised" License
9.33k stars 1.25k forks source link

Refresh RouteCollection before dispatching to the route actions #1696

Closed christoph-kluge closed 4 years ago

christoph-kluge commented 4 years ago

After merging RouteCollection we should ensure that we update the internal actionList and nameList. This allows us to use the internal lookups by name which is used by the UrlGenerator->route() member function aka route() helper function.

Resolves #1695

specialtactics commented 4 years ago

Nice @christoph-kluge !