<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hello,<br></div><div><br>A dependency should provide a way to be registered in the application supervisor?<br></div><br></div>Ex:<br><br></div>I'm using a framework and almost everything that I have in my application will be supervised by the framework itself. (Framework supervision tree)<br><br></div>But then I want to create some crazy stuff that needs to be supervised by my application. (App supervision tree)<br><br></div>And then I starting to use a database driver that has his own supervisor as well. (Db Driver supervision tree)<br><br></div>The point is:<br><br></div>Is ok to have 3 different supervision trees that does not communicate by them-selfs? <br></div><div>(As if for example the framework supervisor dies probably something really bad had happened in erlang vm, and everything should die as well)<br></div><div><br></div><div>or<br><br></div>All dependencies should provide a way to be registered in the application supervisor? (And then everything will be tied by the Application supervision tree, even if does not seems fully necessary)<br><br></div>Cheers, <br></div>Felipe<br></div>