Reputation: 23
for some reason I am not able to see the current schema definition/docs for the typedefs and resolvers I made on the playground itself.
Some checks were the following:
php artisan lighthouse:validate-schema
- returns a handful of typos/errors and was fixed.php artisan lighthouse:print-schema
- after fixing the errors above was able to print the schema on the terminalLIGHTHOUSE_CACHE_ENABLE=false
- Laravel and Lighthouse, it always read the dafault schemaAfter doing the steps above I expected to now see the schema on the playground but with no chance. Anyone facing the same issue, or anyone have any idea how to resolve the problem? Thanks
Upvotes: 0
Views: 714
Reputation: 26
Try to clear lighthouse config cache through this command
php artisan lighthouse:clear-cache
It might be help.
Upvotes: 1