Skip to content

GraphQL query of related objects returns all objects #11171

@arthanson

Description

@arthanson

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

Metadata

Metadata

Assignees

Labels

betaConcerns a bug/feature in a beta releasetype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions