bug: Unhandled exception when a BuiltinIPAddress have 2 BuiltinIPPrefix #5474
Labels
group/backend
Issue related to the backend (API Server, Git Agent)
type/bug
Something isn't working as expected
Milestone
Component
API Server / GraphQL
Infrahub version
1.1.2
Current Behavior
When querying IP Addresses, and one of them has several ip_prefix, the Graphql API reply a cryptic :
In the server logs we can see
Expected Behavior
Error should be gratefully handled and the API should reply which IP has an issue as other Graphql Error we are currently sending
EDIT: We should not be in this case as the "ip_prefix" should be properly update, for which I will open another issue
Steps to Reproduce
client.all("InfraIPAddress")
Additional Information
No response
The text was updated successfully, but these errors were encountered: