-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
The VirtualMachineType in GraphQL is missing the contacts
property
#15347
Comments
This exposes the `contacts` property to `virtual_machines` objects in GraphQL. Closes netbox-community#15347
Sounds like a bug. |
@jeremystretch I'd be happy to help. By applying the changes in klstilling@e76b018 the property becomes available in the GraphQL API. If there's anything I can do, just poke me. |
This is blocked by #9856 as it is completely rewritten what is returned. |
Although we are completely gutting the GraphQL code with the move to Strawberry in v4.0, this seems like a simple fix we can squeeze into the current code base without much hassle. |
NetBox version
v3.7.3
Feature type
Data model extension
Proposed functionality
I propose that the
ContactMixin
class is added to theVirtualMachineType
class in the GraphQL files. I was wondering where I could find it, as I could find the property in theDeviceType
class. I have a pull request ready which I'd be happy to submit for review.Use case
It allows users to get information about contacts associated with virtual machine objects
Database changes
None
External dependencies
None
The text was updated successfully, but these errors were encountered: