Skip to content

Commit

Permalink
Change default Relay input m2m types from `ListInput[NodeInputPartial…
Browse files Browse the repository at this point in the history
…]` to `ListInput[NodeInput]` (#630)
  • Loading branch information
SupImDos authored Sep 24, 2024
1 parent 93b1bf4 commit 63c9bd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions strawberry_django/fields/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@ def __hash__(self):
type,
] = {
related.ForeignKey: NodeInput,
related.ManyToManyField: ListInput[NodeInputPartial],
related.ManyToManyField: ListInput[NodeInput],
related.OneToOneField: NodeInput,
reverse_related.ManyToManyRel: ListInput[NodeInputPartial],
reverse_related.ManyToManyRel: ListInput[NodeInput],
reverse_related.ManyToOneRel: ListInput[NodeInput],
reverse_related.OneToOneRel: NodeInput,
}
Expand Down

0 comments on commit 63c9bd2

Please # to comment.