-
Notifications
You must be signed in to change notification settings - Fork 81
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
DynamodDB Type converters #1664
base: 5.0.x
Are you sure you want to change the base?
Conversation
@radovanradic let me know if this conflicts with your spike here: micronaut-projects/micronaut-data@master...data-aws-dynamodb |
No, this could be useful for that work in data. I just started with connectivity and few methods in repository implemented and switched to something else so I will definitely be able to use this later. |
0ee9153
to
41daa1a
Compare
SonarCloud Quality Gate failed. |
Moving discussion here from micronaut-projects/micronaut-core#10137 Any plans for an EnhancedDynamoDbClient in Micronaut? https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/dynamodb-enhanced-client.html We just do it in a library so the Beans are available for use. I think we had to do something custom with @secondary constructors to make it work with micronaut test resources as well. I can follow up on this |
I see this is the current solution, excluding doing yourself, https://micronaut-projects.github.io/micronaut-aws/latest/guide/#thirdPartyLibraries |
thanks for mentioning @scprek. The v2 implementation works nicely with |
This PR contains
TypeConverter
from and to AttributeValue for:It is the first step towards improving the integration of Micronaut Framework with Amazon DynamoDB.
In a future PR we could leverage these converters to provide conversion between a introspected class to a
Map<String, AttributeValue>