Skip to content

Query with "or" expression #681

Closed
Closed
@bwanglzu

Description

@bwanglzu

Hi everyone, maybe it's a stupid question, I'm new to graphene. Is it possible for me to query like this?

query{
  things(type: "type_a" or "type_b"){
    edges{
      node{
        thing_id
      }
    }
  }
}

I mean the type argument could possibly be a String or multiple Strings (or a list).. I figured out that Django has something called django_filter.. But I'm using Flask.

Thanks!

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