Skip to content

Commit

Permalink
@unchecked Sendable to GraphQLDecoder and GrapheneClosureEventMonitor
Browse files Browse the repository at this point in the history
  • Loading branch information
UriyDevyataev committed Nov 5, 2024
1 parent 11b350a commit e678da1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Network/ExecuteRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public class ExecuteRequestMock<O: GraphQLOperation>: ExecuteRequest<O> {

}

private class GraphQLDecoder: DataDecoder {
private class GraphQLDecoder: DataDecoder, @unchecked Sendable {

let decodePath: String
let jsonDecoder: JSONDecoder
Expand Down
2 changes: 1 addition & 1 deletion Sources/Network/GrapheneEventMonitor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public protocol GrapheneEventMonitor: EventMonitor {
func client(_ client: Client, didReceive response: GrapheneResponse)
}

public class GrapheneClosureEventMonitor: ClosureEventMonitor, GrapheneEventMonitor {
public class GrapheneClosureEventMonitor: ClosureEventMonitor, GrapheneEventMonitor, @unchecked Sendable {

open var clientWillSendRequest: ((Client, GrapheneRequest) -> Void)?
open var clientDidReceiveResponse: ((Client, GrapheneResponse) -> Void)?
Expand Down

0 comments on commit e678da1

Please sign in to comment.