apollographql / apollo-tooling

✏️ Apollo CLI for client tooling (Mostly replaced by Rover)
https://apollographql.com
MIT License
3.04k stars 469 forks source link

VSCode: local schema doesn't work + weird caching issues #1106

Open Hotell opened 5 years ago

Hotell commented 5 years ago

Intended outcome:

Actual outcome:

  1. getting weird errors ( looks like vscode plugin does some weird caching )

image

If I change the path to non existent and back, plugin will get stuck on the same error:

bug-apollo-client-weird-cache

  1. If I explicitly reload code and reload the schema, errors are gone but, another one occurs ( config is loaded 3 times )

bug-apollo-client-loaded-3-times

  1. plugin doesn't work and still uses the old schema

bug-apollo-client-using-old-schema

How to reproduce the issue:

Versions apollo vscode plugin: 1.5.2

mstys commented 5 years ago

Expected the same issue.. Any updates ?