https://kotlinlang.org logo
#http4k
Title
# http4k
o

Oliver

02/24/2024, 7:03 PM
One more thing: according to the AWS documentation for Query Response and Scan Response the
Count
and
ScannedCount
elements are always returned. So why are they optional in the corresponding classes
QueryResponse
and
ScanResponse
? (Background: I would like to add a
count
convenience function to the
DynamoDbIndexMapper
.)
d

dave

02/24/2024, 7:09 PM
hmm - also seems like an oversight. it's possible that they've modified the API since we wrote it (as they have done with KMS)
o

Oliver

02/24/2024, 7:11 PM
so, you would agree if I remove the question marks?
d

dave

02/24/2024, 7:11 PM
if it's in the API then sounds like a plan 🙂
o

Oliver

02/24/2024, 7:12 PM
🙂
d

dave

02/24/2024, 11:54 PM
Merged and released 🙃