Skip to content

Conversation

@EmmanuelOluyomi
Copy link
Contributor

Summary

While working on the previous PR, we discussed with Pete some additional changes to make to the EnvironmentConfiguration API, see comments here: #2705 (comment). This is to make rush EnvironmentConfiguration more user-friendly

Details

This allows the ability to read any EnvironmentConfiguration property at any time, without initialization. Also replaced initialize() to validate() call that will check all the variables which will throw an exception for malformed values.

How it was tested

Made sure all the unit test passed and fixed all errors found

@EmmanuelOluyomi EmmanuelOluyomi changed the title Eoluyomi/environ config Environment Configuration validation Jul 14, 2021
@EmmanuelOluyomi EmmanuelOluyomi changed the title Environment Configuration validation Environment Configuration property validation Jul 14, 2021
EmmanuelOluyomi and others added 2 commits July 15, 2021 12:51
@octogonz octogonz merged commit c1268a5 into microsoft:master Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants