Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Graphql Multiple enums in query

I'd like to set up a query that has multiple enums sent over for the same parameter.

test_query(enum:FIRST,SECOND){
  stuffs
}

It appears that this is not possible in graphql-JS, but I'm not sure.

like image 406
Jontonsoup Avatar asked Jan 18 '16 04:01

Jontonsoup


1 Answers

You simply wrap them in []

test_query(enum:[FIRST,SECOND]){
  stuffs
}
like image 146
Alex Avatar answered Oct 23 '22 03:10

Alex