You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your improvement related to a problem? Please describe.
In #4128 and #4129 we introduced a temporary cache for environment-specific information which the viewmodel validation code uses to ensure that the user does not re-use paths, ports, connection strings, etc.
Describe the suggested solution
Hook this environment specific code into validation context root context data. The parent view model can load this once and provide it to the validators, which will ignore those rules if the validation context does not contain this data. That will also make the validators much easier to test as we can set an appropriate context and test the specific rules we care about.
Describe alternatives you've considered
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the suggested improvement
Is your improvement related to a problem? Please describe.
In #4128 and #4129 we introduced a temporary cache for environment-specific information which the viewmodel validation code uses to ensure that the user does not re-use paths, ports, connection strings, etc.
Describe the suggested solution
Hook this environment specific code into validation context root context data. The parent view model can load this once and provide it to the validators, which will ignore those rules if the validation context does not contain this data. That will also make the validators much easier to test as we can set an appropriate context and test the specific rules we care about.
Describe alternatives you've considered
Additional Context
No response
The text was updated successfully, but these errors were encountered: