laravel-restify icon indicating copy to clipboard operation
laravel-restify copied to clipboard

Support custom route key

Open robin-dongbin opened this issue 2 years ago • 1 comments

ref: https://laravel.com/docs/11.x/routing#customizing-the-key

robin-dongbin avatar Apr 11 '24 08:04 robin-dongbin

PR Summary

  • Enhancement in Model Querying The way we retrieve data from our repositories has been improved in InteractWithRepositories.php. Now we have added more criteria to our search which may give us more specific results. We use attributes such as repositoryId and uriKey for narrowing down the data. An older method for data fetching that used whereKey has been replaced with a more robust where condition employing getRouteKeyName. This means we are improving the precision of our data retrieval methods.

what-the-diff[bot] avatar Apr 11 '24 08:04 what-the-diff[bot]

Thank you!

binaryk avatar Nov 30 '24 06:11 binaryk