GraphQL: Querying of cable within a cabletermination_set of an device can only return the ID but no the corresponding cable #18124
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
Triage priority
N/A
NetBox Version
v4.1.7
Python Version
3.11
Steps to Reproduce
Create a simple GraphQL query to get all cable-terminations of an device and retrieve the cable information:
You will retrieve the following error:
Expected Behavior
Retrieve the cable details on the cable-termination:
Observed Behavior
The cable of cabletermination_set is referencing ModelDjangoType instead of CableType. Querying the cable will only possible when querying the terminations and cable there.
The text was updated successfully, but these errors were encountered: