Open JohnLKramer opened 4 years ago
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
I hope to have time to work on it.
I created a branch and have been working on this. It's mostly done but it needs some additional tests and I have not been able to check the groupRestore. Unfortunately, I cannot create the branch on origin. I can send over a patch or if you can grant me permissions I can create the branch on origin and push the changes that way. Let me know. Thank you.
fast-redact-issue-27-patch.txt
Feel free to change it up, rework it etc. Let me know if you have any questions. Thank you!
Please open a PR on github, you need to create your own fork.
Any progress here? :)
Because only one wildcard per path is supported, there is no way to redact anything inside a doubly nested array.
E.g. in the following object, you can redact anything underneath tokens unless you redact everything underneath tokens:
{ creditcards: [ { amount: 0, tokens: [ { tokenValue: 'string', tokenType: 'string', cardType: 'string', expDate: 'string', cardHolderName: 'string', lastFour: 'string', }, ], }, ], }
Unless I am missing something. Would be great to support.