Closed killenb closed 1 year ago
By using the factory, the application is only created on the first call of getApplicationInstance(). In contrast, the constructor of a static application is run before any code can be executed, which is too early in some cases.
Typo in commit message:
chore: increase minore version
minore -> minor
Anyway, I recommend to squash all commits into a single one titled "feat: add ApplicationFactory".
By using the factory, the application is only created on the first call of getApplicationInstance(). In contrast, the constructor of a static application is run before any code can be executed, which is too early in some cases.