Skip to content

Allow query parameters to be exporter within an interface. #2428

Open
@Anaethelion

Description

@Anaethelion

Currently query_parameters must be declared within each Request.
In reality some endpoints share most if not all the parameters.
As an example search-template allows passing all parameters that are accepted by search.

A solution to avoid duplication would be to adapt the compiler to allow query_parameters to use an exported interface thus enabling reuse and extensions between multiple endpoints.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions