strawberry-graphql/strawberry-django

Mutation filters not working

開放

#317 建立於 2023年7月20日

 (5 則留言) (0 個反應) (0 位負責人)Python (152 個分叉)auto 404
documentationenhancementgood first issuehelp wanted

倉庫指標

星標
 (496 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

When specifying a mutation filter as per the docs, the filter does not appear in the generated schema:

@strawberry.type
class Mutation:
    updateFruits: List[Fruit] = mutations.update(FruitPartialInput, filters=FruitFilter)
    deleteFruits: List[Fruit] = mutations.delete(filters=FruitFilter)
  • Operating system:
  • Strawberry version (if applicable): 0.195.2

貢獻者指南