-
-
Notifications
You must be signed in to change notification settings - Fork 80
Cleaned some extensions #898
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
- Support for User Secrets by not overriding it.
|
After some thought I think the original code already supported user secrets, they were just overridden. The last config provider takes precedence. the
Then the
This means that if you would remove the |
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.
Looks good to me but I am not sure if environment is still working without the AddEnvironmentVariables() can you make sure that is not broken? As I understand the PR description it will still work right?
src/Runtime/NetDaemon.Runtime/Common/Extensions/HostBuilderExtensions.cs
Show resolved
Hide resolved
|
The failing test is strange, they all succeed locally, I explicitly checked. |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## dev #898 +/- ##
==========================================
- Coverage 80.92% 80.81% -0.12%
==========================================
Files 173 173
Lines 4320 4326 +6
Branches 434 435 +1
==========================================
Hits 3496 3496
- Misses 644 650 +6
Partials 180 180
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
|
@helto4real do you know how it’s possible for the coverage to go down if I removed code? That means the old code was not tested I guess? Want me to add tests for the yams settings part? |
No it is ok! Sometimes it does this. The code was never tested in the first place and I am not sure how you would test this efficiently. |
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.
Ok thanks for clarification and the PR!
Proposed change
Type of change
Additional information
As discussed on discourt: https://discord.com/channels/686787269780176998/690899481046024233/1135518233458393108
Checklist
If user exposed functionality or configuration variables are added/changed: