[PR #8518] [CLOSED] feat: plugins can extend the GraphQL schema #13364

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/8518
Author: @Jenjen1324
Created: 2/2/2022
Status: Closed

Base: developHead: 8405-plugin-extend-graphql


📝 Commits (1)

  • ceb0d9d feat: plugins can extend the GraphQL schema

📊 Changes

2 files changed (+73 additions, -3 deletions)

View changed files

📝 netbox/extras/plugins/__init__.py (+34 -0)
📝 netbox/netbox/graphql/schema.py (+39 -3)

📄 Description

Fixes: #8405

This change allows plugin to extend the GraphQL schema with queries, mutations, subscriptions and custom types. This allows full flexibility in extending the API for Plugins.

Remaining Tasks:

  • Plugin endpoint for amending the schema
  • Tests
  • Plugin Documentation updates

🔄 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/8518 **Author:** [@Jenjen1324](https://github.com/Jenjen1324) **Created:** 2/2/2022 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `8405-plugin-extend-graphql` --- ### 📝 Commits (1) - [`ceb0d9d`](https://github.com/netbox-community/netbox/commit/ceb0d9d78ff51ff05629707c99fd7d49cd82ee6c) feat: plugins can extend the GraphQL schema ### 📊 Changes **2 files changed** (+73 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/plugins/__init__.py` (+34 -0) 📝 `netbox/netbox/graphql/schema.py` (+39 -3) </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 opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #8405 <!-- Please include a summary of the proposed changes below. --> This change allows plugin to extend the GraphQL schema with queries, mutations, subscriptions and custom types. This allows full flexibility in extending the API for Plugins. Remaining Tasks: - [x] Plugin endpoint for amending the schema - [ ] Tests - [ ] Plugin Documentation updates --- <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:26:59 +01:00
adam closed this issue 2025-12-29 22:26:59 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13364