-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availableseverity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowstopic: GraphQLtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Deployment Type
Self-hosted
NetBox Version
v4.0.1
Python Version
3.11
Steps to Reproduce
- Go to GraphQL console
- Enter this query
query {
ip_address_list(filters: {tenant: "my-tenant"}){
address
}
}- You'll have an error that some required fields are missing
Expected Behavior
The family, mask_length__gte and mask_length__lte filters shouldn't be mandatory.
Probably the same for other filters.
Also broken on https://demo.netbox.dev/
Observed Behavior
{
"data": null,
"errors": [
{
"message": "Field 'IPAddressFilter.family' of required type 'Int!' was not provided.",
"locations": [
{
"line": 2,
"column": 28
}
]
},
{
"message": "Field 'IPAddressFilter.mask_length__gte' of required type 'Int!' was not provided.",
"locations": [
{
"line": 2,
"column": 28
}
]
},
{
"message": "Field 'IPAddressFilter.mask_length__lte' of required type 'Int!' was not provided.",
"locations": [
{
"line": 2,
"column": 28
}
]
}
]
}NetaliDev
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availableseverity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowstopic: GraphQLtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application