Skip to content

LogMasked PreserveLength ignored when both ShowLast and ShowFirst specified #34

@alexandr-osprey

Description

@alexandr-osprey

Initial data

1234567891234567891

[LogMasked(PreserveLength = true,  ShowLast = 4)]

***************7891

[LogMasked(PreserveLength = true,  ShowLast = 4, ShowFirst = 6)]

123456***7891

Expected result

123456*********7891

Judjing by the source code the attribute is simply ignored in this case.
Destructurama.Attributed, Version=2.0.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions