REFACTOR: NetworkManager #79
Xcode test results
Build Summary
Compile AccumulationTimeStruct.swift (arm64)
Compile TodayAccTimeCardView.swift (arm64)
Compile ProgressToReissue.swift (arm64)
Compile MoreViewFooter.swift (arm64)
Compile Structs.swift (arm64)
Compile SignInWebView.swift (arm64)
Compile ReissuanceView.swift (arm64)
Compile ColorExtension.swift (arm64)
Compile ChartDetailView.swift (arm64)
Compile HaneVM.swift (arm64)
Compile ChartView.swift (arm64)
Compile HANE24App.swift (arm64)
Compile CardProgressView.swift (arm64)
Compile ReissueVM.swift (arm64)
error: Swift Compiler Error: Value of type 'any NetworkProtocol' has no member 'postRequest'
error: Swift Compiler Error: Value of type 'any NetworkProtocol' has no member 'patchRequest'
error: Swift Compiler Error: Value of type 'any NetworkProtocol' has no member 'getRequest'
HANE24/ViewModel/ReissueVM.swift:52:22: error: value of type 'any NetworkProtocol' has no member 'postRequest'
try await network.postRequest(url.absoluteString)
~~~~~~~ ^~~~~~~~~~~
HANE24/ViewModel/ReissueVM.swift:61:22: error: value of type 'any NetworkProtocol' has no member 'patchRequest'
try await network.patchRequest(url.absoluteString)
~~~~~~~ ^~~~~~~~~~~~
HANE24/ViewModel/ReissueVM.swift:69:39: error: value of type 'any NetworkProtocol' has no member 'getRequest'
guard let state = try await network.getRequest(url.absoluteString, type: ReissueState.self) else {
~~~~~~~ ^~~~~~~~~~
Compile Error.swift (arm64)
Compile TagLogView.swift (arm64)
Compile CircularProgressBar.swift (arm64)
Compile GeneratedAssetSymbols.swift (arm64)
Annotations
Check failure on line 52 in HANE24/ViewModel/ReissueVM.swift
github-actions / Xcode test results
error
Value of type 'any NetworkProtocol' has no member 'postRequest'
Check failure on line 61 in HANE24/ViewModel/ReissueVM.swift
github-actions / Xcode test results
error
Value of type 'any NetworkProtocol' has no member 'patchRequest'
Check failure on line 69 in HANE24/ViewModel/ReissueVM.swift
github-actions / Xcode test results
error
Value of type 'any NetworkProtocol' has no member 'getRequest'