Circular dependency!

Hi All!

We have an issue would like to have your view on the same… We have a listA which has a validate hook and now this list/key is referenced by a containerA. In that containerA for one of the config this listA name is a leaf-ref. Because of the same config load fails since they are interdependent on each other. This issue happens on load merge, like two phase commit can we not delay the validate hook getting called.

Balaji Kamal Kannadassan

Have you attached to the transaction using maapi_attach() to get access to the data before it is committed? See examples.cond/validation examples and confd_lib_maapi(3) man page