Skip to content

Conversation

@BeeHiveJava
Copy link
Contributor

Breaking change

Proposed change

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (which adds functionality to an existing integration)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the [development checklist][dev-checklist]
  • The code compiles without warnings (code quality chek)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@codecov-commenter
Copy link

codecov-commenter commented Jan 29, 2022

Codecov Report

Merging #644 (78bf79e) into dev (53fba3e) will decrease coverage by 0.13%.
The diff coverage is 93.91%.

Impacted file tree graph

@@            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     
Flag Coverage Δ
unittests 80.39% <93.91%> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...rnal/AppFactoryProviders/FuncAppFactoryProvider.cs 0.00% <0.00%> (ø)
...n.AppModel/Internal/AppFactories/FuncAppFactory.cs 87.09% <87.09%> (ø)
...ppModel/NetDaemon.AppModel/Internal/Application.cs 92.20% <88.88%> (-0.57%) ⬇️
...el/Common/Extensions/ServiceCollectionExtension.cs 93.97% <100.00%> (+0.64%) ⬆️
...ternal/AppAssemblyProviders/AppAssemblyProvider.cs 100.00% <100.00%> (ø)
...roviders/DynamicallyCompiledAppAssemblyProvider.cs 66.66% <100.00%> (ø)
.../AppFactoryProviders/AssemblyAppFactoryProvider.cs 100.00% <100.00%> (ø)
...al/AppFactoryProviders/SingleAppFactoryProvider.cs 100.00% <100.00%> (ø)
...del/NetDaemon.AppModel/Internal/AppModelContext.cs 80.00% <100.00%> (-3.34%) ⬇️
...on.AppModel/Internal/Context/ApplicationContext.cs 96.42% <100.00%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 53fba3e...78bf79e. Read the comment docs.

@BeeHiveJava BeeHiveJava force-pushed the features/app-instantiator branch from c17d80e to 72383f4 Compare January 29, 2022 17:35
@BeeHiveJava BeeHiveJava force-pushed the features/app-instantiator branch from b660a21 to 8802504 Compare January 30, 2022 13:06
@BeeHiveJava BeeHiveJava force-pushed the features/app-instantiator branch from 74b0a9a to 8ab1284 Compare January 30, 2022 14:11
Copy link
Collaborator

@helto4real helto4real left a 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!

@BeeHiveJava BeeHiveJava merged commit 9939ef4 into dev Jan 30, 2022
@BeeHiveJava BeeHiveJava deleted the features/app-instantiator branch January 30, 2022 17:14
Ikcelaks pushed a commit to Ikcelaks/netdaemon that referenced this pull request Dec 23, 2022
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants