apollographql / apollographql/apollo-client-devtools
Allow disabling automatic introspection (as it may have unexpected sideffects)
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 172
- Avg merge
- 10m
- Merged PRs (30d)
- 8
Description
In my case the automatic introspection that is run by the plugins throws a 401 error in my application because it is triggered to early or with the token although it shouldn't. In fact I would actually simply just disable the introspection to not be forced to open and close dev tools every time I change something in the application and it reloads.
### `@apollo/client` version
@apollo/client@4.1.0
### Apollo Client Devtools version
4.24.3 (Chrome)
Contributor guide
Research direction
Review the Apollo Client DevTools plugin path that triggers automatic introspection and determine how its requests are initiated during application reloads. Identify where an opt-out can be exposed and verify that disabling it prevents the introspection request, including the reported 401 scenario. The issue does not name source files or tests, so repository exploration is required first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100