【发布时间】:2019-01-23 21:58:53
【问题描述】:
class ProductQuery(graphene.ObjectType):
products = graphene.List(Product)
def resolve_products(self, info):
return get_all_products()
以上是我查询所有没有参数的产品的代码。我想通过manufacturer_id查询产品是什么?我该怎么做解析器?
their official site上没有文档。
【问题讨论】: