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

Be more liberal with the accepted type for a message id #291

Merged
merged 3 commits into from
Jun 10, 2019

Conversation

robmen
Copy link
Contributor

@robmen robmen commented Jun 9, 2019

Some servers do not strictly follow the JSON-RPC spec and stringify the
id, even if the client sent it as a number.

Note: We've already filed a bug against the service that stringifies all ids but we're not expecting a fix from them soon.

PS: I know you are not accepting pull requests yet but wanted to get this on your radar.

Some servers do not strictly follow the JSON-RPC spec and stringify the
id, even if the client sent it as a number.
@AArnott
Copy link
Member

AArnott commented Jun 9, 2019

De minimis PRs like this are fine. And thanks for filing the bug against the other server. Your justification for this change seems reasonable.

We just need to add a test to https://github.com/microsoft/vs-streamjsonrpc/blob/master/src/StreamJsonRpc.Tests/JsonRpcClient20InteropTests.cs

@AArnott AArnott self-assigned this Jun 10, 2019
@AArnott AArnott added this to the v2.1 milestone Jun 10, 2019
@msftclas
Copy link

msftclas commented Jun 10, 2019

CLA assistant check
All CLA requirements met.

@AArnott AArnott merged commit ef50d59 into microsoft:master Jun 10, 2019
@robmen robmen deleted the string-ids branch June 10, 2019 03:49
AArnott pushed a commit that referenced this pull request Oct 30, 2024
Bumps [xunit](https://github.com/xunit/xunit) from 2.9.1 to 2.9.2.
- [Commits](xunit/xunit@v2-2.9.1...v2-2.9.2)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants