Skip to content

Commit 2db08cf

Browse files
author
burak.uzunboy
committed
Default var is added to response body parsable
1 parent 6636f57 commit 2db08cf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sources/UsefulNetworkLayer/NetworkLayer/APIConfiguration.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ public protocol ResponseBodyParsable: Codable, NameDescribeable {
197197

198198
public extension ResponseBodyParsable {
199199
func cachingEndsAt() -> Date? { return nil }
200+
static var shouldUseCustomInitializer: Bool { return false }
200201
}
201202

202203
/// Response of the API if request is completed successfully.

0 commit comments

Comments
 (0)