'GraphQL (Lighthouse) without using database

Is it possible to create an Laravel application with Lighthouse, but instead of using database I should receive data from http queries? Requirements: PHP 8.1 Laravel 9

I'm tried use jenssegers/model to avoid necessity connect to database. But if I use nuwave/lighthouse, I should have prepared Model. And I want tell Lighthouse, that I need receive data from third party API with entered data. And my question is about that, how I can force Model to get data from API or make friends Lighthouse with different classes.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source