How to setup Persisted Queries in lighthouse? #2628
Unanswered
hassan-index
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using Lighthouse version 6.45.0 in my Laravel project, and the frontend is built with Vue 3. I have already set up my Apollo.js code in the frontend for Persisted Queries. However, I encounter an error with the code
PERSISTED_QUERY_NOT_FOUND
whenever I make an API request. I understand that this error can occur the first time a query is run, but I receive the same response even after hitting the API two or three more times.My question is: do I need to make any changes to the Lighthouse configuration file on the backend?
Apollo Documentation on Persisted Queries
Lighthouse Automated Persisted Queries
Here is my Apollo.js code for reference:
Lighthouse.php config file Code.
Beta Was this translation helpful? Give feedback.
All reactions