Skip to content

test: add failing redact.restore test#73

Open
toomuchdesign wants to merge 1 commit intodavidmarkclements:mainfrom
toomuchdesign:reproduce-restore-bug
Open

test: add failing redact.restore test#73
toomuchdesign wants to merge 1 commit intodavidmarkclements:mainfrom
toomuchdesign:reproduce-restore-bug

Conversation

@toomuchdesign
Copy link
Copy Markdown

Add a minimal failing repro of the issue documented in this pino thread:
pinojs/pino#1997 (comment)

The issue seems to affect redact.restore with a given order of wildcard redact paths. Eg:

  • ['a[*]', 'a[*].b'] restore correctly
  • ['a[*].b', 'a[*]'] doesn't restore correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant