diff --git a/tests/projects/models.py b/tests/projects/models.py index 38115a8e..0c564aa7 100644 --- a/tests/projects/models.py +++ b/tests/projects/models.py @@ -51,7 +51,7 @@ class Status(models.TextChoices): ) @model_property(annotate={"_milestone_count": Count("milestone")}) - def is_small(self) -> int: + def is_small(self) -> bool: return self._milestone_count < 3 diff --git a/tests/projects/snapshots/schema.gql b/tests/projects/snapshots/schema.gql index 7ebf8f89..989a303f 100644 --- a/tests/projects/snapshots/schema.gql +++ b/tests/projects/snapshots/schema.gql @@ -452,7 +452,7 @@ type ProjectType implements Node { milestonesCount: Int! isDelayed: Boolean! cost: Decimal @isAuthenticated - isSmall: Int! + isSmall: Boolean! } """An edge in a connection."""