J.B
J.B

Reputation: 60

What is the @_(get: "edges") notation?

I am relatively new to GraphQL and have seen some notations like @_(get: "edges") in our GraphQL queries. We are using Apollo and PostGraphile. I have tried looking for some documentation on this, however can't seem to find any. Other things I have seen are: @_(get: "edges", flattenDepth: 1, groupBy: "contentType")

Upvotes: 0

Views: 40

Answers (1)

Daniel Rearden
Daniel Rearden

Reputation: 84697

Sounds like your team is using graphql-lodash, which is an experimental library that allows you to arbitrarily transform GraphQL responses on the client side using functions from lodash.

Upvotes: 1

Related Questions