Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ryanmerolle opened this issue Jul 21, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@ryanmerolle
Copy link
Collaborator

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 ryanmerolle added the enhancement New feature or request label Jul 21, 2022
@ryanmerolle
Copy link
Collaborator Author

@ryanmerolle
Copy link
Collaborator Author

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.

@ryanmerolle ryanmerolle self-assigned this Jan 21, 2023
@ryanmerolle ryanmerolle added this to the NetBox 3.4 milestone Jan 21, 2023
@ryanmerolle ryanmerolle reopened this Jan 23, 2023
@ryanmerolle ryanmerolle removed this from the NetBox 3.4 milestone Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant