Closes #21450: Replace FilterLookup[str] with StrFilterLookup #261

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

Originally created by @pheus on 3/2/2026

Fixes: #21450

This PR updates NetBox’s GraphQL filter definitions to use StrFilterLookup instead of FilterLookup[str], per the guidance in strawberry-graphql-django v0.75.1.

Because StrFilterLookup is only available in strawberry-graphql-django v0.75.1 and newer, this PR also bumps the strawberry-graphql-django dependency.

This removes the noisy upgrade warnings and helps avoid potential DuplicatedTypeName errors going forward. No functional behavior is intended to change. This is a compatibility/maintenance update only.

*Originally created by @pheus on 3/2/2026* ### Fixes: #21450 This PR updates NetBox’s GraphQL filter definitions to use `StrFilterLookup` instead of `FilterLookup[str]`, per the guidance in `strawberry-graphql-django` v0.75.1. Because `StrFilterLookup` is only available in `strawberry-graphql-django` v0.75.1 and newer, this PR also bumps the `strawberry-graphql-django` dependency. This removes the noisy upgrade warnings and helps avoid potential `DuplicatedTypeName` errors going forward. No functional behavior is intended to change. This is a compatibility/maintenance update only.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#261