[PR #4849] [MERGED] #4803: Family of nested address/prefix/aggregate serializes as integer, not as string #12929

Closed
opened 2025-12-29 22:24:25 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4849
Author: @glennmatthews
Created: 7/13/2020
Status: Merged
Merged: 7/15/2020
Merged by: @jeremystretch

Base: developHead: gfm-issue-4803


📝 Commits (1)

  • 9c1dd15 Address/prefix/aggregate family is an integer, not a string. Fixes #4803

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 netbox/ipam/api/nested_serializers.py (+3 -0)

📄 Description

Fixes: #4803

NestedAggregateSerializer, NestedPrefixSerializer, and NestedIPAddressSerializer now correctly report the IP family as an integer rather than a string.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/4849 **Author:** [@glennmatthews](https://github.com/glennmatthews) **Created:** 7/13/2020 **Status:** ✅ Merged **Merged:** 7/15/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `gfm-issue-4803` --- ### 📝 Commits (1) - [`9c1dd15`](https://github.com/netbox-community/netbox/commit/9c1dd159de0dd06154d8ccd23b8fec230d2010c1) Address/prefix/aggregate family is an integer, not a string. Fixes #4803 ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/api/nested_serializers.py` (+3 -0) </details> ### 📄 Description ### Fixes: #4803 `NestedAggregateSerializer`, `NestedPrefixSerializer`, and `NestedIPAddressSerializer` now correctly report the IP `family` as an integer rather than a string. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:24:25 +01:00
adam closed this issue 2025-12-29 22:24:25 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12929