GraphQL query of related objects returns all objects #7349

Closed
opened 2025-12-29 20:22:11 +01:00 by adam · 0 comments
Owner

Originally created by @arthanson on GitHub (Dec 13, 2022).

Originally assigned to: @arthanson on GitHub.

NetBox version

3.4

Python version

3.8

Steps to Reproduce

Using feature branch, the following query on demo data
{
device_role_list {
id
name
devices {
id
}
}
}

Expected Behavior

Only devices related to the device role will be shown

Observed Behavior

All devices are returned

Originally created by @arthanson on GitHub (Dec 13, 2022). Originally assigned to: @arthanson on GitHub. ### NetBox version 3.4 ### Python version 3.8 ### Steps to Reproduce Using feature branch, the following query on demo data { device_role_list { id name devices { id } } } ### Expected Behavior Only devices related to the device role will be shown ### Observed Behavior All devices are returned
adam added the type: bugbeta labels 2025-12-29 20:22:11 +01:00
adam closed this issue 2025-12-29 20:22:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7349