strawberry-graphql/strawberry-django
Way to allow the default strawberry django field to accept UUID as an input
开放
#145 创建于 2022年7月15日
enhancementhelp wanted
仓库指标
- 星标
- (496 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
I am making a query with the following structure:
@strawberry.type
class ObjectQuery:
object: ObjectNode = strawberry.django.field()
However, the input for this requires a type of pk: ID. Is it possible to change this to be of type pk: UUID? My current solution for this is just to write a generic custom resolver.