Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api dependency warnings #5

Open
Vendicated opened this issue Jun 16, 2023 · 0 comments
Open

Api dependency warnings #5

Vendicated opened this issue Jun 16, 2023 · 0 comments

Comments

@Vendicated
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant