Wrong data type for some GraphQL fields #19361
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Milestone
Deployment Type
Self-hosted
NetBox Version
v4.2.6
Python Version
3.12
Steps to Reproduce
Expected Behavior
I receive a response with a list of all (if any) console-port-templates and module-types and no errors. This is an example from an empty v3.7.8 instance:
Observed Behavior
I receive the following response/error:
Note that the error line is in the
module_type_list
query, notconsole_port_template_list
.I traced this back to the GraphQL-Engine-Change in v4.0.0, specifically 45c99e44. And because "if it happens once, it may happened twice" I wrote a quick script to compare the field types between the old and new engine, and found a few more suspicious looking ones:
I would be happy to create a PR for this.
The text was updated successfully, but these errors were encountered: