Open valerybugakov opened 3 years ago
Heads up @joelkw @muratsu - the "team/extensibility" label was applied to this issue.
@valerybugakov what'd be the benefit of using Apollo-Client here? (@philipp-spiess and I just got here after a year haha 😅 )
Context
Apollo-Client is not configured yet to execute requests in the background script. We fallback to
requestGraphQLInBackground
whenclient.watchQuery
is called.A follow-up for the PR that enabled Apollo-Client for extensions query.
Changes required
We need to implement a bridge similar to
background.requestGraphQL
or update browser extension integration tests to allow fetching data in the main thread.