Update NB 4 docs 'GraphQL API' for Strawberry changes #9397

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

Originally created by @arthanson on GitHub (Mar 27, 2024).

Originally assigned to: @arthanson on GitHub.

Change Type

Correction

Area

Integrations/API

Proposed Changes

The documentation for GraphQL filtering needs to be changed for Strawberry as the filtering query syntax has changed, for example:

{
  device_list {
    id
    name
    interfaces(enabled: true) {
      name
    }
  }
}

the interfaces(enabled: true) { will no longer work and needs to be changed to the new lookup syntax.

Originally created by @arthanson on GitHub (Mar 27, 2024). Originally assigned to: @arthanson on GitHub. ### Change Type Correction ### Area Integrations/API ### Proposed Changes The documentation for GraphQL filtering needs to be changed for Strawberry as the filtering query syntax has changed, for example: ``` { device_list { id name interfaces(enabled: true) { name } } } ``` the `interfaces(enabled: true) {` will no longer work and needs to be changed to the new lookup syntax.
adam added the status: acceptedtype: documentation labels 2025-12-29 20:49:18 +01:00
adam closed this issue 2025-12-29 20:49:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9397