Skip to content

Commit

Permalink
forwards field map
Browse files Browse the repository at this point in the history
  • Loading branch information
viggo-devries committed Dec 28, 2023
1 parent 29b965c commit 762bec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oscar_odin/django_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_field_dict(self) -> Dict[str, Optional[Field]]:

if meta.object_name == "Product":
# pylint: disable=protected-access
fields = dict(meta._forward_fields_map.items())
fields = meta._forward_fields_map
else:
fields = {f.name: f for f in meta.fields}

Expand Down

0 comments on commit 762bec7

Please sign in to comment.