Show warning/prevent calling app .run() in Plugin build method #6145
Labels
C-Feature
A new feature, making something new possible
S-Needs-Triage
This issue needs to be labelled
What problem does this solve or what need does it fill?
Accidentally calling .run() in a plugin's build method prevents other plugins from running correctly. This is because .run()
Finalizes the [App] configuration.
Sometimes one might call this method by mistake and spend hours trying to figure out why most of their app isn't running.What solution would you like?
Either a warning informing users of an accidental .run() call or an alternative App struct for plugins to use where .run() is not present. The App's .run() method should only be possible to call in the main app configuration as is intended.
What alternative(s) have you considered?
The text was updated successfully, but these errors were encountered: