我们如何在 Strawberry GraphQL Resolver 中获取请求的字段
query { test { label } }
如何获取label解析器中的字段?
label
我努力了:
info.field_nodes[0].selection_set.selections
但它没有返回我想要的
python-3.x strawberry-graphql
python-3.x ×1
strawberry-graphql ×1