Closed christoph-kluge closed 4 years ago
In my concrete scenario I was not able to separate my handlers based on the routes with different patterns. This PR allows us to handle it properly for the LaravelAdapter.
The following examples are working now properly:
$api->get('/entity/{uuid}', GetEntityByUuid::class) $api->get('/entity/{slug}', GetEntityBySlug::class) $api->get('/entity/{customIdentifier}', GetEntityByCustomIdentifier::class)
referencing pull-request #1619 and issue #1232
Hey @christoph-kluge
Thanks for the PR, I did some local testing against projecting using UUIDs, and it seems to be working.
I'll tag as minor.
In my concrete scenario I was not able to separate my handlers based on the routes with different patterns. This PR allows us to handle it properly for the LaravelAdapter.
The following examples are working now properly: