graphql-kit / graphql-lodash

🛠 Data manipulation for GraphQL queries with lodash syntax
https://apis.guru/graphql-lodash/
MIT License
1.23k stars 50 forks source link

do not works with array of strings #7

Closed vedmalex closed 7 years ago

vedmalex commented 7 years ago

the query

{
  Films: allFilms(first:1) @_(get:"films"){
    films {
      title
      producers @_(join:",")
    }
  }
}

returns

{
  "data": {
    "Films": [
      {
        "title": "A New Hope",
        "producers": "[object Object],[object Object]"
      }
    ]
  }
}

instead of

{
  "data": {
    "Films": [
      {
        "title": "A New Hope",
        "producers": "Gary Kurtz,Rick McCallum"
      }
    ]
  }
}
vedmalex commented 7 years ago

@IvanGoncharov? will you update the application on the server?

IvanGoncharov commented 7 years ago

@vedmalex Done + I released changes as 1.3.2 on NPM.