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 5725cf8 commit d3d1c84Copy full SHA for d3d1c84
Sources/GraphQL/Type/Schema.swift
@@ -49,7 +49,7 @@ public final class GraphQLSchema: @unchecked Sendable {
49
}
50
set {
51
// Writes occur sequentially.
52
- return validationErrorQueue.async(flags: .barrier) {
+ return validationErrorQueue.sync(flags: .barrier) {
53
self._validationErrors = newValue
54
55
@@ -77,7 +77,7 @@ public final class GraphQLSchema: @unchecked Sendable {
77
78
79
80
- return subTypeMapQueue.async(flags: .barrier) {
+ return subTypeMapQueue.sync(flags: .barrier) {
81
self._subTypeMap = newValue
82
83
0 commit comments