laravel
laravel copied to clipboard
Support equivalent of Nova lenses
Nova lenses: https://nova.laravel.com/docs/3.0/lenses/defining-lenses.html
For example, you may want to list of all your application's users sorted by their total lifetime revenue. Creating such a list may require you to join to additional tables and perform aggregate functions within the query.
We should add these - effectively they would be a read-only resource type. I.e. the table that is shown in that chapter as an example would be a JSON:API resource index route, returning a resource type that is the lens name.