steamclock / netable

A Swift library for encapsulating network APIs using Codable in a type-oriented way.
MIT License
99 stars 3 forks source link

Improve support for redaction in Netable #58

Closed brendanlensink closed 4 years ago

brendanlensink commented 4 years ago

Fixes #21

While we decided that Netable shouldn't actually handle redaction itself, it should certainly make it easy for people to implement their own redaction.

Nigel outlined some things that would be required for this in Slack:

To address these I:

I also fixed a place where we were throwing a fatalError that should throw an error the client can handle, and fixed the formatting on some multi-line messages that don't print properly.