[PR #10618] [MERGED] 8245 add graphql filtering at all levels #13663

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

📋 Pull Request Information

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

Base: featureHead: 8245-graphql-filter


📝 Commits (4)

  • d916920 8245 monkey-patch graphene-django to support filtering at all levels
  • bdb8ca3 Merge branch 'feature' into 8245-graphql-filter
  • d2af264 8245 fix tests
  • 0f0956a 8245 fix tests

📊 Changes

3 files changed (+51 additions, -10 deletions)

View changed files

📝 netbox/extras/graphql/types.py (+2 -2)
📝 netbox/netbox/graphql/__init__.py (+49 -3)
📝 netbox/netbox/settings.py (+0 -5)

📄 Description

Fixes: #8245

Monkey-patches graphene-django to support filtering at all levels, also removes force_str patch in settings.py that was needed in old graphene.


🔄 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/10618 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 10/11/2022 **Status:** ✅ Merged **Merged:** 10/12/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `8245-graphql-filter` --- ### 📝 Commits (4) - [`d916920`](https://github.com/netbox-community/netbox/commit/d916920978b0fb41506fccd8252e7c95aff68ca9) 8245 monkey-patch graphene-django to support filtering at all levels - [`bdb8ca3`](https://github.com/netbox-community/netbox/commit/bdb8ca380feff0c0c75f0c281e399a85634fbd05) Merge branch 'feature' into 8245-graphql-filter - [`d2af264`](https://github.com/netbox-community/netbox/commit/d2af26443c943103f4608a702e46fa3b99cfc7b2) 8245 fix tests - [`0f0956a`](https://github.com/netbox-community/netbox/commit/0f0956a989d39ca1d9f9aab8be2942f14196fd2d) 8245 fix tests ### 📊 Changes **3 files changed** (+51 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/graphql/types.py` (+2 -2) 📝 `netbox/netbox/graphql/__init__.py` (+49 -3) 📝 `netbox/netbox/settings.py` (+0 -5) </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: #8245 <!-- Please include a summary of the proposed changes below. --> Monkey-patches graphene-django to support filtering at all levels, also removes force_str patch in settings.py that was needed in old graphene. --- <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:08 +01:00
adam closed this issue 2025-12-29 23:20:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13663