opsmill / infrahub

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

Make node manager `find_object` behaviour consistent #3651

Closed gmazoyer closed 1 month ago

gmazoyer commented 1 month ago

Fixes https://github.com/opsmill/infrahub/issues/3620

Always raise an exception when a node cannot be found when searching for one using find_object. This allows to have a proper error message to the user when using a mutation on a deleted node.