You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When debugging json extension example in pygls' package, an error appeared in async def show_configuration_async:
Tracking back to the root cause:
json-extension - server.py - line 237: config = await ls.get_configuration_async(
pygls - server.py - line 397: return self.lsp.get_configuration_async(params)
pygls - protocol.py: line 457: body = json.dumps(data, default=self._serialize_message)
The exception for calling json.dumps is: AttributeError("'ConfigurationParams' object has no attribute 'partial_result_token'")
The text was updated successfully, but these errors were encountered:
I'm in the process of putting together a PR with some tests to catch this going forward, but if you change it on your end in the meantime, hopefully that will be enough to fix it for you 🤞
When debugging json extension example in pygls' package, an error appeared in
![Screen Shot 2022-12-30 at 09 56 51](https://user-images.githubusercontent.com/28476395/210026910-dad2383c-65b4-4516-a0c2-d0034b51566a.png)
async def show_configuration_async
:Tracking back to the root cause:
json-extension - server.py - line 237: config = await ls.get_configuration_async(
pygls - server.py - line 397: return self.lsp.get_configuration_async(params)
pygls - protocol.py: line 457: body = json.dumps(data, default=self._serialize_message)
The exception for calling json.dumps is:
![Screen Shot 2022-12-30 at 09 50 19](https://user-images.githubusercontent.com/28476395/210027178-a5f0dd38-90d4-4aa9-83ca-430e2f1d89d8.png)
AttributeError("'ConfigurationParams' object has no attribute 'partial_result_token'")
The text was updated successfully, but these errors were encountered: