-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allowing extension of Strawberry Graphql using plugins #17242
Comments
Should this be considered a bug as previously supported behavior has been removed? |
I would strongly support that. |
I agree with the bug designation.. |
@129828 @peteeckel @sirtux could one of you please resubmit this as a bug report, citing the previously working code and any additional context that would be helpful in restoring the functionality? |
Now tracking this as bug #18435. |
NetBox version
v4.0.9
Feature type
Change to existing functionality
Proposed functionality
In previous version it was possible to extend the graphql output of existing models in netbox using a plugin. So creating a CMDB model with a OneToOneField to a dcim.device allowed it to be retrievable using either the API or GraphQL.
However, since the switch to Strawberry I cannot find how I can achieve this. There does not seem te be a way to extend existing models to allow for this.
Use case
This change would allow data to be more easily retrieved from netbox using graphql.
While it is possible to do multiple requests and merge them later this goes against the idea behind graphql that you only need 1 request.
Database changes
No response
External dependencies
No response
The text was updated successfully, but these errors were encountered: