In gql
partial updates required an ID. This is not the case in strawberry_django
. Let's consider these two types:
@gql.django.partial(models.Lemma)
class LemmaPartial:
id: relay.GlobalID
word: gql.auto
language: Language
stage : Optional[DictStage]
multiword_expression: gql.auto
categories: Optional[List[Optional[str]]]
related_lemmas: gql.auto
related_meanings: gql.auto
@strawberry_django.partial(models.Lemma)
class LemmaPartial(strawberry_django.NodeInputPartial):
id: relay.NodeID[str]
word: strawberry.auto
language: Language
multiword_expression: strawberry.auto
categories: Optional[List[Optional[str]]]
related_lemmas: strawberry.auto
related_meanings: strawberry.auto
How can I make mandatory the ID in strawberry_django.partial
?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too