You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Omit fields when deriving SafeDebug by default (Azure#2516)
* Omit fields when deriving SafeDebug by default
ResolvesAzure#1707. Callers can enable the `debug` feature of `typespec_client_core` or `azure_core` to emit normal `core::fmt::Debug` formatting.
* Add/support more test cases
* Refactor to support future `safe` attribute helper
* Use older versions of some deps for 1.80
* Use `DebugTuple::finish()` on 1.80
`DebugTuple::finish_non_exhaustive()` wasn't added till 1.82.
* Remove `SafeDebug` trait
A derive macro doesn't need the trait, nor do we have need for one currently.
* Add "msrv" to cspell dictionary words
To help protected end users from accidental Personally-Identifiable Information (PII) from leaking into logs or traces, models' default implementation of `core::fmt::Debug` formats as non-exhaustive structure tuple e.g.,
Though not recommended for production, you can enable normal `core::fmt::Debug` formatting complete with field names and values by enabling the `debug` feature of `azure_core` e.g.,
0 commit comments