Atlas-Rhythm / Hive

A general backend project for modding communities.
GNU Affero General Public License v3.0
11 stars 1 forks source link

Enable the use of static methods for `Startup.ConfigureContainer` in plugins #105

Closed nike4613 closed 2 years ago

nike4613 commented 2 years ago

Previously, because we were passing the plugin startup instance to the CreateDelegate call in all cases, static methods were not permitted, instead throwing a cryptic error. Hive.Tags uses a static ConfigureContainer, because it does not need access to the configuration passed to the startup. This should be supported.