diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b0bc0a8..dcba8a69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning][semver]. ### Fixed +- Fix change_notifications type (pydantic bug) ([#158]) + +[#158]: https://github.com/openlawlibrary/pygls/pull/158 + ## [0.10.1] - 03/17/2021 ### Fixed diff --git a/pygls/lsp/types/workspace.py b/pygls/lsp/types/workspace.py index 0ea49fa4..b3d15933 100644 --- a/pygls/lsp/types/workspace.py +++ b/pygls/lsp/types/workspace.py @@ -37,7 +37,7 @@ class WorkspaceFoldersServerCapabilities(Model): supported: Optional[bool] = False - change_notifications: Optional[Union[str, bool]] = None + change_notifications: Optional[Union[bool, str]] = None class WorkspaceFolder(Model):