feat: Add tests to proof configuration syntax usability#60
feat: Add tests to proof configuration syntax usability#60DevTKSS wants to merge 2 commits intobolorundurowb:masterfrom DevTKSS:feat-add-tests-for-loading-env-variables-for-oidc-with-configuration-syntax
Conversation
Reading with configuration colone syntax passes the test, but using Load() does not, because Windows EnvironmentVariables are not allowing colone usage. Please evaluate, to add a extension method for IConfigurationBuilder to pass in the appropriate key value pairs
|
if an appropriate ConfigurationBuilder Extension Method would be added, this could fix #59 and enhance Dotenv.net usablility greatly! Would like to use it in my Uno Platform Solution and add a CommunityTutorial to their docs so others would also be able to get Dotenv.net as option to User Secrets ❤️ |
|
@bolorundurowb I synced the main branch but it seems to have conflicts. As I was trying to see what that might have caused, I did see, you did update the FluentAssertions Versions to >8.0 😟 sorry, but I am absolutly not willing to pay for this, as that requires a per developer license AND is even then required, when you are a non profit company. I did just see a video about that shit move done on youtube as I readed on LinkedIn MVPs post a list for alternatives like Shouldly or AwesomeAssetions. They are providing a Fork of the Repo and cherrypicking and proceeding with having a community version by using the Apache versions of FluentAssertions <v8 But If you are willing to pay this and by using the version, have every eventual future Contributor pay for contributing indirectly... lets go... I am not... |
|
and looking at the conflicts here that it mentions wanted to resolved, that is exactly the test which is not passing because of the problem that Load() does not work as expected... |
|
@DevTKSS after the upgrade I saw the new license notice and I have transitioned to Shouldly which is still FOSS. I think the conflict is related to the simpler folder structure. Tests are now in the |
|
@bolorundurowb that test was already failing before you added your commits, so if your CI/CD is taught to fail if not all tests are passing, that will be the reason. That failing test was what I wanted to say with:
|
|
@bolorundurowb do you see, whats the problem that causes now with outcommented test the github message "This branch has conflicts that must be resolved" but right below that "Changes can be cleanly merged"? the button "Resolve Conflicts" is disabled if there are issues... |
|
@DevTKSS the "resolve Conflicts" button is probably disabled because the conflicts cannot be resolved via the GitHub UI. The files you modified have been relocated which is my guess. But I migrated your tests to the file in #64. |
Using the
.Read()Method with configuration colone syntax passes the test, but using Load() does not, because Windows EnvironmentVariables are not allowing colone usage.Please evaluate, to add a extension method for IConfigurationBuilder to pass in the appropriate key value pairs