evjenio / masking.serilog

Masking sensitive information during logging to Serilog by hiding individual properties
Apache License 2.0
30 stars 6 forks source link

Destructuring policy should not process enumerables #1

Closed HenryKovalevsky closed 5 years ago

HenryKovalevsky commented 5 years ago

There is a problem with destructuring IEnumerable instances. The policy uses properties of IEnumerable instance instead of enumerating its elements. So there is a fallback for the default scenarios.