-
-
Notifications
You must be signed in to change notification settings - Fork 80
feat: introduce app instance factory to allow extending app instantiation logic #644
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
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #644 +/- ##
==========================================
- Coverage 80.53% 80.39% -0.14%
==========================================
Files 114 117 +3
Lines 2969 3004 +35
Branches 318 321 +3
==========================================
+ Hits 2391 2415 +24
- Misses 445 455 +10
- Partials 133 134 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
c17d80e to
72383f4
Compare
src/AppModel/NetDaemon.AppModel/Internal/Instance/AppInstanceHelper.cs
Outdated
Show resolved
Hide resolved
src/AppModel/NetDaemon.AppModel.Tests/TypeResolver/TypeResolverTests.cs
Outdated
Show resolved
Hide resolved
src/AppModel/NetDaemon.AppModel/Internal/Instance/IAppInstance.cs
Outdated
Show resolved
Hide resolved
src/AppModel/NetDaemon.AppModel/Common/Extensions/ServiceCollectionExtension.cs
Outdated
Show resolved
Hide resolved
b660a21 to
8802504
Compare
src/AppModel/NetDaemon.AppModel/Internal/AppAssemblyProvider/SingleAppAssemblyProvider.cs
Outdated
Show resolved
Hide resolved
src/AppModel/NetDaemon.AppModel/Internal/AppFactories/AppFactoryHelper.cs
Outdated
Show resolved
Hide resolved
src/AppModel/NetDaemon.AppModel/Internal/AppFactories/TypeAppFactory.cs
Outdated
Show resolved
Hide resolved
74b0a9a to
8ab1284
Compare
helto4real
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you did an awesome job. The tests look really clean too!
src/AppModel/NetDaemon.AppModel/Common/Extensions/ServiceCollectionExtension.cs
Show resolved
Hide resolved
src/AppModel/NetDaemon.AppModel/Internal/TypeResolver/AppTypeResolver.cs
Show resolved
Hide resolved
…tion logic (net-daemon#644) * feat: add generic parameter for AddAppFromType * feat: introduce app instance factory * style: reformat * fix: use nullable property * feat: introduce app instances * refactor: modify names and layers based on discussions * refactor: rename namespaces to be plural * refactor: rename single app assembly provider * refactor: use factory methods instead of inheritance * fix: update tests * feat: move some tests around
Breaking change
Proposed change
Type of change
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: