Strawberry Graphql does not allow extension by plugins #18435
Labels
severity: medium
Results in substantial degraded or broken functionality for specfic workflows
status: needs owner
This issue is tentatively accepted pending a volunteer committed to its implementation
topic: GraphQL
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v4.0.9
Python Version
3.10
Steps to Reproduce
In versions before V4 it was possible to extend the graphql api using plugins:
For example a plugin that added EVPN data was able to be queried from the vlan:
This was done in the plugin itself and allowed to easily create links back and forth.
For example from a publicly available plugin, the netbox-bgp previously had this behaviour where it was possible to use graphql to query nested data.:
But in V4
And looking through the documentation of the strawberry api, I cannot seem to find a way to reenable this functionality.
The only option would be to first get all devices and then all bgpsession which have the device assigned, but the whole point of graphql is to only do a single request.
previous issue about this #17242
Expected Behavior
In version 4 it should still be possible to query the graphql api by using nested data from plugins, as right now it's only possible to do this using the netbox provided models.
Observed Behavior
It is not possible to use graphql to query nested plugin data
The text was updated successfully, but these errors were encountered: