netbox-acls icon indicating copy to clipboard operation
netbox-acls copied to clipboard

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

Open ryanmerolle opened this issue 2 years ago • 2 comments

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 avatar Jul 21 '22 13:07 ryanmerolle

  • netbox-community/netbox#9817

ryanmerolle avatar Jul 21 '22 13:07 ryanmerolle

It looks like this was addressed with:

  • netbox-community/netbox#11180

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

ryanmerolle avatar Jan 21 '23 17:01 ryanmerolle