[PR #10603] [MERGED] 10595 extend graphql relationships #13660

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10603
Author: @arthanson
Created: 10/7/2022
Status: Merged
Merged: 10/11/2022
Merged by: @jeremystretch

Base: featureHead: 10595-extend-graphql-relationships


📝 Commits (10+)

  • dc7e793 9817 add graphql l2vpntermination assigned_object
  • 61b2274 9817 add graphql ipaddressassignment assigned_object
  • 0b38d40 9817 ipan graphql gfk
  • 4fdf49d 9817 dcim graphql gfk
  • 6bfec51 9817 dcim graphql gfk
  • 745edd8 9817 fix tests
  • fd7ad58 10595 cable a_terminations to graphql
  • ac1cf30 10595 cable a_terminations to graphql
  • a9be663 10595 add contacts to graphql
  • 4ac98a2 10595 fix merge conflicts

📊 Changes

7 files changed (+255 additions, -21 deletions)

View changed files

📝 netbox/circuits/graphql/types.py (+5 -4)
📝 netbox/dcim/graphql/gfk_mixins.py (+110 -0)
📝 netbox/dcim/graphql/types.py (+23 -12)
📝 netbox/extras/graphql/mixins.py (+7 -0)
netbox/ipam/graphql/gfk_mixins.py (+95 -0)
📝 netbox/ipam/graphql/types.py (+12 -5)
📝 netbox/utilities/testing/api.py (+3 -0)

📄 Description

Fixes: #9817 #10595

Adds GraphQL object expansion for GFK items for various model types. Combines changes for 1094 and 1095 as there are some merge dependencies between the two.


🔄 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/10603 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 10/7/2022 **Status:** ✅ Merged **Merged:** 10/11/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `10595-extend-graphql-relationships` --- ### 📝 Commits (10+) - [`dc7e793`](https://github.com/netbox-community/netbox/commit/dc7e793c1e2f8617c89f64d2b39dd2e143f710a5) 9817 add graphql l2vpntermination assigned_object - [`61b2274`](https://github.com/netbox-community/netbox/commit/61b22745044bbcdbd6124c212ce8370aec666e7e) 9817 add graphql ipaddressassignment assigned_object - [`0b38d40`](https://github.com/netbox-community/netbox/commit/0b38d40b48cd4e0376979c971c75f05e19d3306f) 9817 ipan graphql gfk - [`4fdf49d`](https://github.com/netbox-community/netbox/commit/4fdf49de2a4f34b0db53df7801e7d000db8e4742) 9817 dcim graphql gfk - [`6bfec51`](https://github.com/netbox-community/netbox/commit/6bfec51efe52d9e0ac3486b3217e1e1d9d4f67bf) 9817 dcim graphql gfk - [`745edd8`](https://github.com/netbox-community/netbox/commit/745edd82bf9bae0cd99ccb935f3601f00c08493c) 9817 fix tests - [`fd7ad58`](https://github.com/netbox-community/netbox/commit/fd7ad58fa079f00742054d89c373aca6b465f50e) 10595 cable a_terminations to graphql - [`ac1cf30`](https://github.com/netbox-community/netbox/commit/ac1cf30321c1416a0f830faa27000ee9b1c2dacd) 10595 cable a_terminations to graphql - [`a9be663`](https://github.com/netbox-community/netbox/commit/a9be663df2762e392d0be76bcc76b585e6873b21) 10595 add contacts to graphql - [`4ac98a2`](https://github.com/netbox-community/netbox/commit/4ac98a2c26779659815110a3a86309fa560cb505) 10595 fix merge conflicts ### 📊 Changes **7 files changed** (+255 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `netbox/circuits/graphql/types.py` (+5 -4) 📝 `netbox/dcim/graphql/gfk_mixins.py` (+110 -0) 📝 `netbox/dcim/graphql/types.py` (+23 -12) 📝 `netbox/extras/graphql/mixins.py` (+7 -0) ➕ `netbox/ipam/graphql/gfk_mixins.py` (+95 -0) 📝 `netbox/ipam/graphql/types.py` (+12 -5) 📝 `netbox/utilities/testing/api.py` (+3 -0) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WE BE CLOSED AUTOMATICALLY. Specify your assigned issue number on the line below. --> ### Fixes: #9817 #10595 <!-- Please include a summary of the proposed changes below. --> Adds GraphQL object expansion for GFK items for various model types. Combines changes for 1094 and 1095 as there are some merge dependencies between the two. --- <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 23:20:07 +01:00
adam closed this issue 2025-12-29 23:20:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13660