Skip to content

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

@janmazak

Description

@janmazak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions