sangria-graphql / sangria

Scala GraphQL implementation
https://sangria-graphql.github.io
Apache License 2.0
1.96k stars 226 forks source link

List input types of enum types are not automatically unmarshalled #322

Closed macalinao closed 6 years ago

macalinao commented 6 years ago

Getting this error:

Variable '$queues' expected value of type '[Queue!]' but got: [Ljava.lang.Object;@5d2e43ec

where Queue is an EnumType.

I'm passing in queues as a JSON array (looks like ["RANKED_SOLO_SR"]). I am using the Jackson unmarshaller. Thanks!

macalinao commented 6 years ago

problem was with the way i was passing stuff in (finatra)