-
Notifications
You must be signed in to change notification settings - Fork 841
Description
Description
If i change RestrictedData to UnrestrictedData, i'm expecting the property to be visible in my logging, because in https://github.com/erwinkramer/bank-api/blob/main/BankApi.Service/Defaults/Builder.Compliance.cs i set UnrestrictedData with a NullRedactor.
Reproduction Steps
- Clone the repo: https://github.com/erwinkramer/bank-api/tree/main
- Debug in Aspire mode
- Run the test at this line: http://{{host}}/{{apiVersion}}/teller
Expected behavior
NullRedactor should just return the value as-is, as documented.
Actual behavior
NullRedactor acts like the ErasingRedactor.
Regression?
No response
Known Workarounds
No response
Configuration
Not sure if specific to a version
.NET SDK:
Version: 9.0.100
Commit: 59db016f11
Workload version: 9.0.100-manifests.3068a692
MSBuild version: 17.12.7+5b8665660
Runtime Environment:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100\
Other information
No response