GraphQL DjangoModelType only has pk attribute #17710
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
topic: GraphQL
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v4.1.1
Python Version
3.11
Steps to Reproduce
When querying cables and their terminations, i cannot get the device name of the terminating interface anymore (since NB v4 / strawberry GraphQL)
Example query:
Expected Behavior
In Netbox 3.7 we were able to query for the parent device of the termination, therefore I would expect have the same or a similar behaviour. Since the pk is available, the name shouldn't be too far away.
Observed Behavior
The DjangoModelType (in this case the _device) only has a pk attribute which provides the ID of the device.
The text was updated successfully, but these errors were encountered: