Skip to content

Commit 5e9eeeb

Browse files
Changed Condition Logic
1 parent 0a5d35c commit 5e9eeeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/strawberry_sqlalchemy_mapper/mapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ def convert(type_: Any) -> Any:
628628
type_, key, strawberry_type, generated_field_keys
629629
)
630630
break
631-
if isinstance(descriptor, AssociationProxy):
631+
elif isinstance(descriptor, AssociationProxy):
632632
strawberry_type = self._get_association_proxy_annotation(
633633
mapper, key, descriptor
634634
)

0 commit comments

Comments
 (0)