Open dxks opened 3 days ago
same issue as #17681 : use of parent
as filter for IpRange and IpAddress
Even, using the doc for autotype_decorator
:
For other filter fields a function needs to be created for Strawberry with the naming convention
filter_{fieldname}
which is auto detected and called by Strawberry, this function uses the filterset to handle the query.
modify search_by_parent
by filter_parent
didn't help.
Deployment Type
Self-hosted
Triage priority
N/A
NetBox Version
v4.1.7
Python Version
3.11
Steps to Reproduce
Using a simple IP-Adress-List to get multiple ip-addresses for multiple prefixes:
causing the error:
Expected Behavior
Querying the IP-Addresses for multiple Prefixes results in a list of all IPs. Unfortunately this is also not supported querying all Prefixes and retrieve the specific ip addresses in a prefix.
Observed Behavior
An error was raised showing that using parent in filters is not supported.