You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Sync/SubscriptionSync/AWSIncomingEventReconciliationQueue.swift
Copy file name to clipboardExpand all lines: AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Sync/SubscriptionSync/AWSIncomingSubscriptionEventPublisher.swift
+4-2
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,15 @@ final class AWSIncomingSubscriptionEventPublisher: IncomingSubscriptionEventPubl
Copy file name to clipboardExpand all lines: AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Sync/SubscriptionSync/IncomingAsyncSubscriptionEventPublisher.swift
+13-7
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ final class IncomingAsyncSubscriptionEventPublisher: AmplifyCancellable {
51
51
modelPredicate:QueryPredicate?,
52
52
auth:AuthCategoryBehavior?,
53
53
authModeStrategy:AuthModeStrategy,
54
+
subscriptionFiltering:Bool,
54
55
awsAuthService:AWSAuthServiceBehavior?=nil)async{
55
56
self.onCreateConnected =false
56
57
self.onUpdateConnected =false
@@ -84,6 +85,7 @@ final class IncomingAsyncSubscriptionEventPublisher: AmplifyCancellable {
84
85
api: api,
85
86
auth: auth,
86
87
awsAuthService:self.awsAuthService,
88
+
subscriptionFiltering: subscriptionFiltering,
87
89
authTypeProvider: onCreateAuthTypeProvider),
88
90
maxRetries: onCreateAuthTypeProvider.count,
89
91
resultListener: genericCompletionListenerHandler){ nextRequest, wrappedCompletion in
@@ -106,6 +108,7 @@ final class IncomingAsyncSubscriptionEventPublisher: AmplifyCancellable {
106
108
api: api,
107
109
auth: auth,
108
110
awsAuthService:self.awsAuthService,
111
+
subscriptionFiltering: subscriptionFiltering,
109
112
authTypeProvider: onUpdateAuthTypeProvider),
110
113
maxRetries: onUpdateAuthTypeProvider.count,
111
114
resultListener: genericCompletionListenerHandler){ nextRequest, wrappedCompletion in
@@ -128,6 +131,7 @@ final class IncomingAsyncSubscriptionEventPublisher: AmplifyCancellable {
128
131
api: api,
129
132
auth: auth,
130
133
awsAuthService:self.awsAuthService,
134
+
subscriptionFiltering: subscriptionFiltering,
131
135
authTypeProvider: onDeleteAuthTypeProvider),
132
136
maxRetries: onUpdateAuthTypeProvider.count,
133
137
resultListener: genericCompletionListenerHandler){ nextRequest, wrappedCompletion in
Copy file name to clipboardExpand all lines: AmplifyPlugins/DataStore/Sources/AWSDataStorePlugin/Sync/SubscriptionSync/ReconcileAndLocalSave/AWSModelReconciliationQueue.swift
Copy file name to clipboardExpand all lines: AmplifyPlugins/DataStore/Tests/AWSDataStorePluginTests/Sync/SubscriptionSync/AWSIncomingEventReconciliationQueueTests.swift
+2-1
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,8 @@ class AWSIncomingEventReconciliationQueueTests: XCTestCase {
Copy file name to clipboardExpand all lines: AmplifyPlugins/DataStore/Tests/AWSDataStorePluginTests/Sync/SubscriptionSync/IncomingAsyncSubscriptionEventPublisherTests.swift
+66-2
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ final class IncomingAsyncSubscriptionEventPublisherTests: XCTestCase {
0 commit comments