Use _list appendix for GraphQL list queries

This commit is contained in:
jeremystretch
2021-06-30 09:57:33 -04:00
parent 0d7309cb19
commit 728b3bac67
11 changed files with 81 additions and 82 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ from .types import *
class TenancyQuery(graphene.ObjectType):
tenant = ObjectField(TenantType)
tenants = ObjectListField(TenantType)
tenant_list = ObjectListField(TenantType)
tenant_group = ObjectField(TenantGroupType)
tenant_groups = ObjectListField(TenantGroupType)
tenant_group_list = ObjectListField(TenantGroupType)