Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully decode InitializeRequest #756

Merged
merged 2 commits into from Jun 27, 2023
Merged

Fully decode InitializeRequest #756

merged 2 commits into from Jun 27, 2023

Conversation

JCWasmx86
Copy link
Contributor

@JCWasmx86 JCWasmx86 commented Jun 24, 2023

I found out that clientInfo is not decoded. This fixes this issue and modifies a test to ensure deserialization works. It has no impact on sourcekit-lsp, but as I use your LSPBindings product I want to have access to clientInfo

@MaxDesiatov
Copy link
Member

@swift-ci test

@MaxDesiatov
Copy link
Member

@swift-ci test macos

@MaxDesiatov
Copy link
Member

@swift-ci test linux

Copy link
Collaborator

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Good catch. It looks like we have the same issue for the locale child. Could you add that to CodingKeys as well?

@JCWasmx86 JCWasmx86 changed the title Decode clientInfo Fully decode InitializeRequest Jun 26, 2023
Copy link
Collaborator

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 🙏🏽

@ahoppen
Copy link
Collaborator

ahoppen commented Jun 26, 2023

@swift-ci Please test

@ahoppen
Copy link
Collaborator

ahoppen commented Jun 27, 2023

@swift-ci Please test Windows

@ahoppen ahoppen merged commit 869fd0a into apple:main Jun 27, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants