We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d20697f commit 57d6111Copy full SHA for 57d6111
Sources/SwiftAPIClient/APIClientCaller.swift
@@ -219,7 +219,7 @@ public extension APIClient {
219
220
if let mock = try configs.getMockIfNeeded(for: Value.self, serializer: serializer) {
221
#if canImport(Metrics)
222
- configs.reportMetrics(false).logRequest(request, uuid: uuid)
+ configs.with(\.reportMetrics, false).logRequest(request, uuid: uuid)
223
#else
224
configs.logRequest(request, uuid: uuid)
225
#endif
0 commit comments