-
Notifications
You must be signed in to change notification settings - Fork 869
Support ScannedCount on DynamoDb Document Model #3751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Support ScannedCount on DynamoDb Document Model #3751
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My comments are affect both the sync and async code paths.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left minor comment and running the PR through the internal build system. Assuming that is successful I can approve.
generator/ServiceClientGeneratorLib/UnitTestProjectFileCreator.cs
Outdated
Show resolved
Hide resolved
Can you regenerate the Assembly.tt file so you get an updated Assembly.cs file? Looks like it got merged weird at one point in your branch and the version section is being generated without the In case you don't know what I mean in the Generator solution right click on the
|
I would also suggest avoiding commit the generated unit project file changes. That is how you will get conflicts like you have now. The generated changes will get picked and committed during the next release after this is merged. |
|
Not sure what happen with my previous internal build run that triggered the issues with AssemblyInfo. I assume my local branch was in a bad state and deleted and repulled. And I don't see the same problem. I push the branch through the internal build system again. You do need to address the merge conflict. That should just mean merge in the latest |
.NET Framework build is failing with the following build errors
|
added InternalsVisibleTo for AWSSDK.UnitTests.NetFramework to fix the build |
Expose
ScannedCount
on Amazon.DynamoDBv2.DocumentModel.SearchDescription
Add a new
ScannedCount
property to Search class.Populate this value internally from the most recent
ScanResponse
orQueryResponse
.Accumulate
ScannedCount
value forGetRemaining/GetRemainingAsync
Motivation and Context
#2018
Testing
Unit tests added for new property added
Screenshots (if appropriate)
Types of changes
Checklist
License