From 2550e0350081a4aa11ff94524b45ab42eedd9015 Mon Sep 17 00:00:00 2001 From: David Yaffe Date: Mon, 4 Dec 2023 12:21:47 -0800 Subject: [PATCH] allow isTruncated to be optional bool (#626) --- Sources/ClientRuntime/Pagination/PaginatorSequence.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/ClientRuntime/Pagination/PaginatorSequence.swift b/Sources/ClientRuntime/Pagination/PaginatorSequence.swift index 5ca294378..da92aaa93 100644 --- a/Sources/ClientRuntime/Pagination/PaginatorSequence.swift +++ b/Sources/ClientRuntime/Pagination/PaginatorSequence.swift @@ -12,13 +12,13 @@ public struct PaginatorSequence? let outputKey: KeyPath - var isTruncatedKey: KeyPath? + var isTruncatedKey: KeyPath? let paginationFunction: (OperationStackInput) async throws -> OperationStackOutput public init(input: OperationStackInput, inputKey: KeyPath? = nil, outputKey: KeyPath, - isTruncatedKey: KeyPath? = nil, + isTruncatedKey: KeyPath? = nil, paginationFunction: @escaping (OperationStackInput) async throws -> OperationStackOutput) { self.input = input self.inputKey = inputKey @@ -51,7 +51,7 @@ public struct PaginatorSequence