Describe the feature
Add support for passing the configured DynamoDB client to Batch.read operations when using the find_all method. This change ensures that the same client configuration used for individual operations is also used for batch operations.
The implementation updates the find_all method to pass the model's dynamodb_client to Batch.read, maintaining configuration consistency throughout the codebase.
Use Case
When working with multiple DynamoDB endpoints or regions, users configure model classes with specific clients. Previously, while individual operations respected these configurations, batch operations did not receive the client setting.
This enhancement ensures that applications working with custom client configurations (different regions, endpoints, credentials, etc.) will have consistent behavior across all operations, eliminating potential connection errors when batch operations defaulted to different configuration than individual operations.
Proposed Solution
No response
Other Information
No response
Acknowledgements
aws-sdk-ruby-record version used
2.13.3
Environment details (OS name and version, etc.)
Linux
Describe the feature
Add support for passing the configured DynamoDB client to
Batch.readoperations when using thefind_allmethod. This change ensures that the same client configuration used for individual operations is also used for batch operations.The implementation updates the
find_allmethod to pass the model'sdynamodb_clienttoBatch.read, maintaining configuration consistency throughout the codebase.Use Case
When working with multiple DynamoDB endpoints or regions, users configure model classes with specific clients. Previously, while individual operations respected these configurations, batch operations did not receive the client setting.
This enhancement ensures that applications working with custom client configurations (different regions, endpoints, credentials, etc.) will have consistent behavior across all operations, eliminating potential connection errors when batch operations defaulted to different configuration than individual operations.
Proposed Solution
No response
Other Information
No response
Acknowledgements
aws-sdk-ruby-record version used
2.13.3
Environment details (OS name and version, etc.)
Linux