Does the LogPropertyIgnoreAttribute work with Record Types? #5339
Labels
area-compliance
waiting-author-feedback 📭
The author of this issue needs to respond in order for us to continue investigating this issue.
I recently implemented the use
LogPropertiesAttributes
in a solution that uses a mix of classes and record Types. The attribute behavior seems to work correctly when setting the Transitive value to true. The objects properties, and the properties of records within the object are properly logged.However, when the object being logged has a property that is a record Type, the
LogPropertyIgnoreAttribute
does not seem to work (the property values are still logged)? After changing the child property from a Record Type to a Class, theLogPropertyIgnoreAttribute
works properly, and the property values are no longer logged.Could this actually have nothing to do with the
LogPropertyIgnoreAttribute
and instead be an issue with theLogPropertiesAttribute
Transitive feature? I notice that the remarks say this:Does the experimental Transitive feature currently only work with objects?
Thanks!
The text was updated successfully, but these errors were encountered: