gaxios
gaxios copied to clipboard
refactor: Remove `errorRedactor`
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.