opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
144 stars 7 forks source link

set branch for Nodes returned by NodeListGetInfoQuery #3720

Closed ajtmccarty closed 3 days ago

ajtmccarty commented 1 week ago

fixes #3719

dynamically set branch for nodes returned by NodeListGetInfoQuery where branch_agnostic=True instead of assuming that every node returned is on the same branch as the query

the branch of a node is determined by the branch value of its IS_PART_OF edge to the Root node in the database