Skip to content

Conversation

@dxks
Copy link
Contributor

@dxks dxks commented Dec 16, 2024

Fixes: #18124

The OpenAPI schema for CableTerminationType auto retrieves the cable-property as default DjangoType and therefore no properties of the cable can be retrieved. Adding the reference annotation to CableType solves this issue.

Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dxks!

@jeremystretch jeremystretch merged commit 382e246 into netbox-community:develop Dec 16, 2024
3 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GraphQL: Querying of cable within a cabletermination_set of an device can only return the ID but no the corresponding cable

2 participants