@_(get: "edges") 是什么符号?
What is the @_(get: "edges") notation?
我对 GraphQL 比较陌生,在我们的 GraphQL 查询中看到过一些符号,例如 @_(get: "edges")
。我们正在使用 Apollo 和 PostGraphile。我曾尝试寻找有关此的一些文档,但似乎找不到任何文档。我看到的其他事情是:
@_(get: "edges", flattenDepth: 1, groupBy: "contentType")
听起来您的团队正在使用 graphql-lodash, which is an experimental library that allows you to arbitrarily transform GraphQL responses on the client side using functions from lodash。
我对 GraphQL 比较陌生,在我们的 GraphQL 查询中看到过一些符号,例如 @_(get: "edges")
。我们正在使用 Apollo 和 PostGraphile。我曾尝试寻找有关此的一些文档,但似乎找不到任何文档。我看到的其他事情是:
@_(get: "edges", flattenDepth: 1, groupBy: "contentType")
听起来您的团队正在使用 graphql-lodash, which is an experimental library that allows you to arbitrarily transform GraphQL responses on the client side using functions from lodash。