googleapis / googleapis/google-cloud-node

refactor: Remove `errorRedactor`

Open
#7,714 1 comment 0 reactions 0 assignees View on GitHub
library: google-cloud-node-core priority: p3 type: feature request
Dominant language
TypeScript
Stars
3.2k
Forks
712
Avg merge
2d 3h
Merged PRs (30d)
99

Description

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](https://cloud.google.com/security/products/dlp) [[infotypes](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#credentials_and_secrets)]].

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.