-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release/9.1] Hide secrets in source tooltip, correct ExpressionResol…
…ver logic for non-containers (#7708) * Replace tuple with record type in source view model, hide secrets in tooltip * Remove sourceIsContainer checks in ResolveInternalAsync * Fix test * EndpointReference/Expression need to only be container * Apply suggestion * special case ResourceWithConnectionStringSurrogate * Update comment * Fix discrepant behavior between ReferenceExpression.GetValueAsync and ExpressionResolver.EvalExpressionAsync * Invoke GetValueAsync on ConnectionStringReference before resolving it, to prevent non-optional but missing value from resolving * Update src/Aspire.Hosting/ApplicationModel/ExpressionResolver.cs Co-authored-by: James Newton-King <[email protected]> * Improve comment in ResolveConnectionStringReferenceAsync * Change DashboardUIHelpers.GetMaskingText to return a record * clean up ResourceSourceViewModel * add additional secrets in test case * Add additional ExpressionResolver tests --------- Co-authored-by: Adam Ratzman <[email protected]> Co-authored-by: Dan Moseley <[email protected]> Co-authored-by: James Newton-King <[email protected]>
- Loading branch information
1 parent
87cb282
commit a7453c1
Showing
8 changed files
with
162 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.