- Roadrunner 1.8.1
- Laravel: 7.17.2
- Lighthouse: 4.15.0
When using NGINX, I have no issues with my GraphQL API/Schema. However, when I switch to Roadrunner, I suddenly, intermittently get errors like:
"message": "Lighthouse failed while trying to load a type: MyType\n\nMake sure the type is present in your schema definition.\n",
"exception": "Nuwave\\Lighthouse\\Exceptions\\DefinitionException",
"file": "/var/www/wright/ams/vendor/nuwave/lighthouse/src/Schema/TypeRegistry.php",
"line": 94
Has anyone else experienced this and found a solution?
I did have opcache enabled, but even with that disabled, I'm still experiencing this issue.
I've run php artisan lighthouse:validate-schema, and it is valid I've also run php artisan lighthouse:clear-cache, to no avail