It's very easy to forget to add api plugins to your plugin's dependencies which leads to confusing breakage of plugins. It would be good if companion could detect this and warn you
It should detect calls to apis and check if your plugin object has it listed as dependency. if not, it should display an error. it's probably easiest to hardcode apis that require you to add a dependency but parsing apis dynamically would be even better
It's very easy to forget to add api plugins to your plugin's dependencies which leads to confusing breakage of plugins. It would be good if companion could detect this and warn you
It should detect calls to apis and check if your plugin object has it listed as dependency. if not, it should display an error. it's probably easiest to hardcode apis that require you to add a dependency but parsing apis dynamically would be even better