- Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: deprecationRemoval of existing functionality or behaviorRemoval of existing functionality or behavior
Milestone
Description
Proposed Changes
Raise a deprecation warning whenever an obsolete nested serializer class (i.e. those defined in the nested_serializers module within each app) is imported.
Justification
As of NetBox v4.0 these are generally no longer used, and will be removed in a future release. Dynamic nesting support for primary serializers was introduced under #15087.
Impact
Usage of an obsolete nested serializer can be replaced by initializing the corresponding primary serializer with nested=True.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: deprecationRemoval of existing functionality or behaviorRemoval of existing functionality or behavior