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

batch call parsing does not conform to JSON-RPC 2.0 standard #96

Open
janmazak opened this issue Jul 25, 2019 · 1 comment
Open

batch call parsing does not conform to JSON-RPC 2.0 standard #96

janmazak opened this issue Jul 25, 2019 · 1 comment

Comments

@janmazak
Copy link

AuthProxy.batch_() should use ids to match responses with requests.

According to https://www.jsonrpc.org/specification: "The Response objects being returned from a batch call MAY be returned in any order within the Array. The Client SHOULD match contexts between the set of Request objects and the resulting set of Response objects based on the id member within each Object."

Now it is assumed that the server will keep the order the same.

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

No branches or pull requests

2 participants
@janmazak and others