1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

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

View File

@@ -6,7 +6,7 @@ from .types import *
class UsersQuery(graphene.ObjectType):
group = ObjectField(GroupType)
groups = ObjectListField(GroupType)
group_list = ObjectListField(GroupType)
user = ObjectField(UserType)
users = ObjectListField(UserType)
user_list = ObjectListField(UserType)