steamclock / netable

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

Consider adding support for setting global JSONEncoding/DecodingStrategy values #67

Closed brendanlensink closed 2 years ago

brendanlensink commented 4 years ago

We currently support setting this values per request, but in general it seems like strategies are consistent across APIs.

Since this probably isn't always true, I don't think we can remove per-request setters for global setters entirely, but it may be handly to allow people to set a global default and then override that default per request.