Standardize naming of GraphQL filters #11898

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

Originally created by @jeremystretch on GitHub (Dec 4, 2025).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Rename the following GraphQL filter classes to omit the Mixin suffix.

Current Name New Name
BaseObjectTypeFilterMixin BaseObjectTypeFilter
NetBoxModelFilterMixin NetBoxModelFilter
PrimaryModelFilterMixin PrimaryModelFilter
OrganizationalModelFilterMixin OrganizationalModelFilter
NestedGroupModelFilterMixin NestedGroupModelFilter

Justification

Renaming these GraphQL filter classes more appropriately conveys their use: They are base classes, not mixins.

Originally created by @jeremystretch on GitHub (Dec 4, 2025). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Rename the following GraphQL filter classes to omit the `Mixin` suffix. | Current Name | New Name | |--------------------------------|---------------------------| | BaseObjectTypeFilterMixin | BaseObjectTypeFilter | | NetBoxModelFilterMixin | NetBoxModelFilter | | PrimaryModelFilterMixin | PrimaryModelFilter | | OrganizationalModelFilterMixin | OrganizationalModelFilter | | NestedGroupModelFilterMixin | NestedGroupModelFilter | ### Justification Renaming these GraphQL filter classes more appropriately conveys their use: They are base classes, not mixins.
adam added the status: acceptedtype: housekeepingnetbox labels 2025-12-29 21:51:18 +01:00
adam closed this issue 2025-12-29 21:51: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#11898