Generate implementations of spring-data-dynamodb repositories

Proprietary

Generates a Java implementation of each spring-data-dynamodb repository interface on the AWS SDK v2 Enhanced client, and a @Configuration registering them for each @EnableDynamoDBRepositories. Each query method keeps the access path spring-data-dynamodb chose for it (load, table query, index query or scan), its scan permission checks, sort rules and exceptions. Derived methods that always failed in spring-data-dynamodb but whose intent is unambiguous get a working implementation, listed in the DynamoDbBehaviourFixes table.

io.moderne.java.spring.data.dynamodb.GenerateDynamoDbRepositoryImplementations

Optional

generateHelpersBoolean

Whether to generate the helper classes that the changes use. Compositions that limit where helpers are generated set it to false and generate them with org.openrewrite.aws.sdk.GenerateAwsSdkV2Helpers. Defaults to true.

mod run . --recipe=io.moderne.java.spring.data.dynamodb.GenerateDynamoDbRepositoryImplementations

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.