Skip to content

Commit 32a2b17

Browse files
authored
Remove unneeded sendable conformances (#895)
1 parent e58f230 commit 32a2b17

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

native/swift/Sources/wordpress-api/Pagination.swift

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -184,17 +184,17 @@ public struct PaginationSequence<ResponseType: PaginatableResponse>: AsyncSequen
184184
}
185185

186186
// MARK: - Posts
187-
extension PostsRequestListWithEditContextResponse: PaginatableResponse, @unchecked Sendable {
187+
extension PostsRequestListWithEditContextResponse: PaginatableResponse {
188188
public typealias ParamsType = PostListParams
189189
public typealias DataType = PostWithEditContext
190190
}
191191

192-
extension PostsRequestListWithViewContextResponse: PaginatableResponse, @unchecked Sendable {
192+
extension PostsRequestListWithViewContextResponse: PaginatableResponse {
193193
public typealias ParamsType = PostListParams
194194
public typealias DataType = PostWithViewContext
195195
}
196196

197-
extension PostsRequestListWithEmbedContextResponse: PaginatableResponse, @unchecked Sendable {
197+
extension PostsRequestListWithEmbedContextResponse: PaginatableResponse {
198198
public typealias ParamsType = PostListParams
199199
public typealias DataType = PostWithEmbedContext
200200
}
@@ -228,17 +228,17 @@ extension PagesRequestExecutor: PaginationAwareExecutor {
228228
}
229229

230230
// MARK: - Media
231-
extension MediaRequestListWithEditContextResponse: PaginatableResponse, @unchecked Sendable {
231+
extension MediaRequestListWithEditContextResponse: PaginatableResponse {
232232
public typealias ParamsType = MediaListParams
233233
public typealias DataType = MediaWithEditContext
234234
}
235235

236-
extension MediaRequestListWithViewContextResponse: PaginatableResponse, @unchecked Sendable {
236+
extension MediaRequestListWithViewContextResponse: PaginatableResponse {
237237
public typealias ParamsType = MediaListParams
238238
public typealias DataType = MediaWithViewContext
239239
}
240240

241-
extension MediaRequestListWithEmbedContextResponse: PaginatableResponse, @unchecked Sendable {
241+
extension MediaRequestListWithEmbedContextResponse: PaginatableResponse {
242242
public typealias ParamsType = MediaListParams
243243
public typealias DataType = MediaWithEmbedContext
244244
}
@@ -250,17 +250,17 @@ extension MediaRequestExecutor: PaginationAwareExecutor {
250250
}
251251

252252
// MARK: - Users
253-
extension UsersRequestListWithEditContextResponse: PaginatableResponse, @unchecked Sendable {
253+
extension UsersRequestListWithEditContextResponse: PaginatableResponse {
254254
public typealias ParamsType = UserListParams
255255
public typealias DataType = UserWithEditContext
256256
}
257257

258-
extension UsersRequestListWithViewContextResponse: PaginatableResponse, @unchecked Sendable {
258+
extension UsersRequestListWithViewContextResponse: PaginatableResponse {
259259
public typealias ParamsType = UserListParams
260260
public typealias DataType = UserWithViewContext
261261
}
262262

263-
extension UsersRequestListWithEmbedContextResponse: PaginatableResponse, @unchecked Sendable {
263+
extension UsersRequestListWithEmbedContextResponse: PaginatableResponse {
264264
public typealias ParamsType = UserListParams
265265
public typealias DataType = UserWithEmbedContext
266266
}
@@ -272,17 +272,17 @@ extension UsersRequestExecutor: PaginationAwareExecutor {
272272
}
273273

274274
// MARK: - Comments
275-
extension CommentsRequestListWithEditContextResponse: PaginatableResponse, @unchecked Sendable {
275+
extension CommentsRequestListWithEditContextResponse: PaginatableResponse {
276276
public typealias ParamsType = CommentListParams
277277
public typealias DataType = CommentWithEditContext
278278
}
279279

280-
extension CommentsRequestListWithViewContextResponse: PaginatableResponse, @unchecked Sendable {
280+
extension CommentsRequestListWithViewContextResponse: PaginatableResponse {
281281
public typealias ParamsType = CommentListParams
282282
public typealias DataType = CommentWithViewContext
283283
}
284284

285-
extension CommentsRequestListWithEmbedContextResponse: PaginatableResponse, @unchecked Sendable {
285+
extension CommentsRequestListWithEmbedContextResponse: PaginatableResponse {
286286
public typealias ParamsType = CommentListParams
287287
public typealias DataType = CommentWithEmbedContext
288288
}
@@ -295,17 +295,17 @@ extension CommentsRequestExecutor: PaginationAwareExecutor {
295295

296296
// MARK: - Categories
297297

298-
extension CategoriesRequestListWithEditContextResponse: PaginatableResponse, @unchecked Sendable {
298+
extension CategoriesRequestListWithEditContextResponse: PaginatableResponse {
299299
public typealias ParamsType = CategoryListParams
300300
public typealias DataType = CategoryWithEditContext
301301
}
302302

303-
extension CategoriesRequestListWithViewContextResponse: PaginatableResponse, @unchecked Sendable {
303+
extension CategoriesRequestListWithViewContextResponse: PaginatableResponse {
304304
public typealias ParamsType = CategoryListParams
305305
public typealias DataType = CategoryWithViewContext
306306
}
307307

308-
extension CategoriesRequestListWithEmbedContextResponse: PaginatableResponse, @unchecked Sendable {
308+
extension CategoriesRequestListWithEmbedContextResponse: PaginatableResponse {
309309
public typealias ParamsType = CategoryListParams
310310
public typealias DataType = CategoryWithEmbedContext
311311
}
@@ -318,17 +318,17 @@ extension CategoriesRequestExecutor: PaginationAwareExecutor {
318318

319319
// MARK: - Tags
320320

321-
extension TagsRequestListWithEditContextResponse: PaginatableResponse, @unchecked Sendable {
321+
extension TagsRequestListWithEditContextResponse: PaginatableResponse {
322322
public typealias ParamsType = TagListParams
323323
public typealias DataType = TagWithEditContext
324324
}
325325

326-
extension TagsRequestListWithViewContextResponse: PaginatableResponse, @unchecked Sendable {
326+
extension TagsRequestListWithViewContextResponse: PaginatableResponse {
327327
public typealias ParamsType = TagListParams
328328
public typealias DataType = TagWithViewContext
329329
}
330330

331-
extension TagsRequestListWithEmbedContextResponse: PaginatableResponse, @unchecked Sendable {
331+
extension TagsRequestListWithEmbedContextResponse: PaginatableResponse {
332332
public typealias ParamsType = TagListParams
333333
public typealias DataType = TagWithEmbedContext
334334
}

0 commit comments

Comments
 (0)