Skip to content
This repository was archived by the owner on Mar 18, 2019. It is now read-only.
This repository was archived by the owner on Mar 18, 2019. It is now read-only.

Support repeating query string params #36

Description

@jdelight

Is it currently possible to build a request like:

http://my-app.com/?filter=1&filter=2&filter=3

In Django you can use request.query_params.getlist('filter') to return a list of [1,2,3]
However I'm not sure this is supported with the core api clients.

Seems to be because you can only have one filter property in the list of params:

if (field.location === 'query') {
    queryParams[field.name] = params[field.name];
    ...

The each filter is replaced with the next one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions