gaxios icon indicating copy to clipboard operation
gaxios copied to clipboard

refactor: Remove `errorRedactor`

Open danielbankhead opened this issue 9 months ago • 0 comments

It simply does not work well with the open-ended GaxiosOptions & Response types and is pretty unmaintainable. Instead, customers should use a proper data loss prevention (DLP) product for this [example [infotypes]].

It has been marked as an @experimental API and thus is not breaking if removed.

https://github.com/googleapis/gaxios/blob/56b1410a95db951a962cbafe257e8defc6f155b2/README.md?plain=1#L191-L204

https://github.com/googleapis/gaxios/blob/56b1410a95db951a962cbafe257e8defc6f155b2/src/common.ts#L248-L259

https://github.com/googleapis/gaxios/blob/56b1410a95db951a962cbafe257e8defc6f155b2/src/common.ts#L392-L489

An internal bug is blocking this feature request - await it's resolution first.

danielbankhead avatar May 23 '24 21:05 danielbankhead