-
Notifications
You must be signed in to change notification settings - Fork 141
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
Please support @DynamoDBTypeConverted instead of/in addition to @DynamoDBMarshalling for query methods #62
Comments
+1 |
1 similar comment
+1 |
…namoDBTypeConverted, @DynamoDBTyped etc.) instead of/in addition to @DynamoDBMarshalling for query methods. Signed-off-by: Alex Arana <alex.arana@skyhubdigital.com>
NOTESI have added #79 to deal with this very issue. This change introduces support for DynamoDBMapper v2 conversion schemas with support for all relevant annotations including:
Also, any custom meta-annotations including one or more of the above would be equally supported using the new code. I've left a few TODOs in the code where feedback is particularly sought. |
+1 |
Thanks for the PR. I merged it and therefore close this issue |
@derjust could you release new version from branch 4.6.x with this fix? |
I'm currently away until early Jan but is doable..
Alex
Get Outlook for Android<https://aka.ms/ghei36>
From: pyteld
Sent: Wednesday, 6 December, 4:08 pm
Subject: Re: [derjust/spring-data-dynamodb] Please support @DynamoDBTypeConverted instead of/in addition to @DynamoDBMarshalling for query methods (#62)
To: derjust/spring-data-dynamodb
Cc: Alex Arana, Comment
@derjust<https://github.com/derjust> could you release new version from branch 4.6.x with this fix?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#62 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ACAnnzcq4FNMaTjORo-ZjZWgRz2i3fFhks5s9m6ggaJpZM4KpC72>.
|
I'm not sure if I'm doing something wrong here, but I can't seem to get this to work. I have an entity object with a
|
@ronniehicks are you using the correct version? It looks like the PR was merged in to v5.0.1. I have the same issue with version < 5 and had to use the @DynamoDBMarshalling annotation. |
I was not aware of that. The project I'm on is currently using Spring Boot 1.5.7, which relies on Spring 4, and we're not super comfortable upgrading to the version that needs Spring 5 quite yet. Think there's any chance that this could get pulled into the v4 release? |
I will have a look what the impact would be |
…ypeConverted, @DynamoDBTyped etc.) instead of/in addition to @DynamoDBMarshalling for query methods. Signed-off-by: Alex Arana <alex.arana@skyhubdigital.com>
@ronniehicks want to give |
Today, query methods only seem to understand @DynamoDBMarshalling, which is a deprecated annotation in DynamoDB (and kind of obnoxious because it only supports going to/from Strings, which makes it lousy for dates).
It would be awesome if DynamoDBTypeConverted fields were supported by AbstractDynamoDBQueryCriteria so that fields annotated in this way would work with query methods.
The text was updated successfully, but these errors were encountered: