Skip to content

Support by-position parameters #44

@hongqn

Description

@hongqn

According to JSON-RPC 2.0 Specification , the params field of request object may be either by-position (Array) or by-name (Object).

However the current implementation of fastapi-jsonrpc forces to use by-name parameter:

params: dict = Field(default_factory=dict)

This causes this awesome library is not usable in some circumstances. Can we support by-position parameters in the future version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions