Fixes #17749: Add missing graphql fields

This commit is contained in:
corubba
2024-10-15 22:02:14 +02:00
committed by Jeremy Stretch
parent e8e95f5e97
commit 532dbabbab
3 changed files with 4 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ class TenantGroupType(OrganizationalObjectType):
parent: Annotated["TenantGroupType", strawberry.lazy('tenancy.graphql.types')] | None
tenants: List[TenantType]
children: List[Annotated["TenantGroupType", strawberry.lazy('tenancy.graphql.types')]]
#
@@ -99,6 +100,7 @@ class ContactGroupType(OrganizationalObjectType):
parent: Annotated["ContactGroupType", strawberry.lazy('tenancy.graphql.types')] | None
contacts: List[ContactType]
children: List[Annotated["ContactGroupType", strawberry.lazy('tenancy.graphql.types')]]
@strawberry_django.type(