Fixes #21478: Fix GraphQL connected endpoint type resolution for Console Ports #316

Closed
opened 2026-04-05 16:25:41 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pheus on 2/18/2026

Fixes: #21478

This PR corrects a typo in ConnectedEndpointType.resolve_type() where ConsolePortType was checked instead of the ConsolePort model.

While GraphQL queries may still resolve correctly via fallback behavior, this makes the resolver logic consistent with the other branches and ensures ConsolePort instances explicitly resolve to ConsolePortType.

*Originally created by @pheus on 2/18/2026* ### Fixes: #21478 This PR corrects a typo in `ConnectedEndpointType.resolve_type()` where `ConsolePortType` was checked instead of the `ConsolePort` model. While GraphQL queries may still resolve correctly via fallback behavior, this makes the resolver logic consistent with the other branches and ensures `ConsolePort` instances explicitly resolve to `ConsolePortType`.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#316