-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Introduce string set handling #34
Conversation
* Read Consistency Setting * #8 Custom Mapper Spec * #8 Custom Mapper CDI fix * Fix symlink to CONTRIBUTING.md (#13) * #8 Don't use autowired or constructor injection with FactoryBeans (#12) * [maven-release-plugin] prepare release v5.2.2 * [maven-release-plugin] prepare for next development iteration * 5.2.2 docs fix * Hibernate Validator CVE fix GHSA-m8p2-495h-ccmh * Documentation updates * Create FUNDING.yml * Fixed a Type (#17) Co-authored-by: thedevluffy <52121827+TheDevLuffy@users.noreply.github.com> * Documentation updates * 5.2.3 prep * [maven-release-plugin] prepare release v5.2.3 * [maven-release-plugin] prepare for next development iteration Co-authored-by: Christian Frommeyer <frommeyerc@googlemail.com> Co-authored-by: thedevluffy <52121827+TheDevLuffy@users.noreply.github.com>
# Conflicts: # README.md # pom.xml # src/changes/changes.xml # src/main/java/org/socialsignin/spring/data/dynamodb/repository/Query.java
Wow @hannes-angst , I was working on this myself. You beat me to the punch. Will test and merge here in a bit |
Did you need this released to central anytime soon? |
Would be nice. ❤️ |
Are you planning on adding any other contributions? If not I can cut 5.2.5 with your additions now. |
I was looking into the OR challenge but I identified at least three major reworks
So I would suggest to just wrap it up and call it a 5.2.5 ;) |
So if we move to DynamoDB 2, might as well jsut re-write it from the ground up. I have used their new EnhancedMapper and it's great, however, nothing here would really carry over all that much. There are years of tech debt and old spring conventions built up here. It is probably time to start fresh. Is this something you are interested in working on? I want to do it, but to do it by myself would take god knows how long As far as filter expressions, you will noticed I wrote an ugly hack to get in there quickly using the Query annotation. Again, it's such a fundamental switch that it would require a large re-write :) |
* Update FUNDING.yml * Introduce string set handling (#34) * v5.2.3 (#18) * Read Consistency Setting * #8 Custom Mapper Spec * #8 Custom Mapper CDI fix * Fix symlink to CONTRIBUTING.md (#13) * #8 Don't use autowired or constructor injection with FactoryBeans (#12) * [maven-release-plugin] prepare release v5.2.2 * [maven-release-plugin] prepare for next development iteration * 5.2.2 docs fix * Hibernate Validator CVE fix GHSA-m8p2-495h-ccmh * Documentation updates * Create FUNDING.yml * Fixed a Type (#17) Co-authored-by: thedevluffy <52121827+TheDevLuffy@users.noreply.github.com> * Documentation updates * 5.2.3 prep * [maven-release-plugin] prepare release v5.2.3 * [maven-release-plugin] prepare for next development iteration Co-authored-by: Christian Frommeyer <frommeyerc@googlemail.com> Co-authored-by: thedevluffy <52121827+TheDevLuffy@users.noreply.github.com> * ✨ Allow CONTAINS and NOT_CONTAINS is repositories * 🎨 cleanup * 🔧 check for collection * 🔧 check for collection * ✏️ cleanup * 🎨 cleanup imports * Remove funding changes Co-authored-by: John D <dorman@overlooked.us> Co-authored-by: Christian Frommeyer <frommeyerc@googlemail.com> Co-authored-by: thedevluffy <52121827+TheDevLuffy@users.noreply.github.com> Co-authored-by: John Dorman <dorman@ataxia.cloud> Co-authored-by: Hannes Angst <hannes.angst1@porsche.de> * Updating changelog for #33 * Updating for release * [maven-release-plugin] prepare release v5.2.5 * [maven-release-plugin] prepare for next development iteration Co-authored-by: Hannes Angst <hannes-angst@users.noreply.github.com> Co-authored-by: Christian Frommeyer <frommeyerc@googlemail.com> Co-authored-by: thedevluffy <52121827+TheDevLuffy@users.noreply.github.com> Co-authored-by: Hannes Angst <hannes.angst1@porsche.de>
@hannes-angst It has been released and is synced on central. I don't know if you are using it over at Porsche, but if you are I might to upgrade my 991 C2S to utilize whatever service it is powering :) |
991 C2S is a beauty. I would love to own a Porsche Taycan Turbo 4S 😂 I was baffled that there is no spring repository support directly from AWS and I hate to wait for testcontainers to come up with a local dynamodb instance just to do things I already know are working 😉. For the rewrite, there would be some things to tackle:
I'm pretty sure there is much more to consider and I can totally feel you not to go solo on it. Scans:
Queries:
|
https://github.com/boostchicken/spring-data-dynamodb/wiki/Change-Log Check that page for how the library handles filters right now. I know its kind of jankey but with out the mechanism to decide when to query or scan, this is the best I could do on my timeline. It would be great to re-write the Part Tree and GSI code to figure out when a GSI is available and when it would require filters as opposed to queries That is the library that replaces DynamoDBMapper. I moved one of my apps from this project to that. If you are interested in seeing an actual in-depth production implementation let me know and we can set up a screen share (can't make the code public). While there are some similarities, there is not enough to make me want to carry all this code forward. |
@boostchicken Any way to chat with you? |
I created a branch that uses the current code and add expression filters to the queries. This will allow for advanced -- scan -- queries. |
@hannes-angst Are you on discord? boostchicken#3135. We can also setup a Slack |
(1) Implements handling of CONTAINS on SS (string set) and NOT_CONTAINS on SS (string set).
(2) Fixes object mis-match for collection parameters on SS (string set) properties.