mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #6871: Support dynamic tag types in GraphQL API
This commit is contained in:
@@ -39,7 +39,7 @@ class JournalEntriesMixin:
|
||||
|
||||
|
||||
class TagsMixin:
|
||||
tags = graphene.List(graphene.String)
|
||||
tags = graphene.List('extras.graphql.types.TagType')
|
||||
|
||||
def resolve_tags(self, info):
|
||||
return self.tags.all()
|
||||
|
Reference in New Issue
Block a user