Refetch periodically
Whenever I change the schema in my backend, I get the wrong type hints in Vscode for my Frontend and I have to manually restart the gql language server.
Is there any way to refetch the schema from my backend periodcally?
Same here.
Are you using schema introspection? As in, is your schema specified as an http/s uri? Or is schema in files? Assuming by re-fetch it’s over the wire?
I know where the cache invalidation isn’t happening yet, so I think I know how to solve this problem
Are you using schema introspection? As in, is your schema specified as an http/s uri? Or is schema in files? Assuming by re-fetch it’s over the wire?
I know where the cache invalidation isn’t happening yet, so I think I know how to solve this problem
Its over the wire yes
I'm having the same issue while using schema in files
The cache doesn't appear to be purged even when restarting the gql language server for me. When new properties are added, I have to manually download the schema and manually reference this "for a while" (I assume until VS's cache is purged).
Is there a way to manually purge this cache?