bug: when inserting a schema node into an existing hierarchy the wrong peer
gets defined on the parent relationship on the inserted node
#4838
Labels
group/backend
Issue related to the backend (API Server, Git Agent)
group/schema
Issue related to some schemas
type/bug
Something isn't working as expected
Milestone
Component
API Server / GraphQL
Infrahub version
1.0.1
Current Behavior
When you insert a schema node into an existing hierarchy, the parent relationship on the inserted schema node seems to be set to the generic implementing the hierarchy rather than the specific peer.
Expected Behavior
The peer of the parent relationship of the inserted node in the hierarchy, gets set to the proper kind of the parent node.
Steps to Reproduce
LocationGeneric
instead ofLocationCountry
Additional Information
No response
The text was updated successfully, but these errors were encountered: