netbox-community / netbox-acls

A NetBox plugin for Access Lists based off of the NetBox Plugin Demo
https://pypi.org/project/netbox-acls/
Apache License 2.0
90 stars 27 forks source link

[Feature]: Add assigned_object models in GraphQL API similar to the REST API #41

Open ryanmerolle opened 2 years ago

ryanmerolle commented 2 years ago

NetBox version

v3.2.6

Feature type

Add a function

Proposed functionality

NetBox core graphql package does not support walking assigned_object_type/assigned_object_id approach to relations.

Use case

It would be nice to walk from ACL to assigned devices, but you cannot currently.

External dependencies

graphql-python/graphene-django

ryanmerolle commented 2 years ago
ryanmerolle commented 1 year ago

It looks like this was addressed with:

In netbox_acls/api/serializers.py I marked 2 spots with # TODO to address in our NetBox 3.4 compatible plugin version.