3 ms·
It depends on whether your chosen platform can do it. If you're coding resolvers by hand, that is not fun. But for example the Lighthouse GraphQL layer for Lar
by ecjhdnc2025 2y ago
It depends on whether your chosen platform can do it.
If you're coding resolvers by hand, that is not fun. But for example the Lighthouse GraphQL layer for Laravel (it's a schema-first thing based on the Webonyx PHP GraphQL reference implementation) can do a lot of this for you using schema decorations.
https://lighthouse-php.com https://lighthouse-php.com
It has where/filter/sort/pagination, automatic scope narrowing etc., and you have very little code (if any) beyond the graphql schema to set it up. It integrates brilliantly with the Eloquent query builder.
One of the best applications for PHP IMO; it is really enormously productive.