How to Redact Custom Headers Using HttpClient in Effect Typescript
Good morning! Using HttpClient, how to redact some custom headers?
There are some thing I think you could do with
I have the same issue with query string parameters: in case of error, everything is logged. I'm using this for an Oauth2 client, so I can't have my secret in logs
There are some thing I think you could do with
Inspectable.withRedactableContext and passing a fiberRefs like in this test https://github.com/Effect-TS/effect/blob/734af82138e78b9c57a8355b1c6b80e80d38b222/packages/platform/test/HttpClient.test.ts#L211, But I'm not sure how to proceedI have the same issue with query string parameters: in case of error, everything is logged. I'm using this for an Oauth2 client, so I can't have my secret in logs
