I am implementing a query using Lighthouse.
I am using the @paginate directive, but it is a complex condition and I want to write it in a .php file.
I've looked and can't figure out how to do this, so I need help.
The following method failed to get the relation and resulted in null.
graphql - Laravel Lighthouse paginate field result - Stack Overflow Laravel Lighthouse paginate field result
Paginate Directive | Lighthouse https://lighthouse-php.com/3/api-reference/directives.html#paginate