Urigo / SOFA

The best way to create REST APIs - Generate RESTful APIs from your GraphQL Server

Home Page:https://www.the-guild.dev/graphql/sofa-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: value.map is not a function - on array arguments

natschoman opened this issue · comments

How to pass an array argument into the url parameters?
I always get
TypeError: value.map is not a function

For example with the following query

exampleQuery(
arrayInputString: [String!]
intInputString: [Int]
): [Result]

I tried

?arrayInputString=a,b,c
?arrayInputString=[a,b,c]
?arrayInputString[]=a&arrayInputString[]=b&arrayInputString[]=c

All with no success :(

I guess it was broken in the latest version. Will fix soon.

commented

Hi, any updates on that Issue?

Thanks for fixing this. When is the next release planned with fix for this.