Skip to content

TableNameResolver does not work with @DynamoDBIndexHashKey #291

@github4sanjay

Description

@github4sanjay

Expected Behavior

TableNameResolver should be called for every query

Actual Behavior

TableNameResolver is not called for secondary indexes

Steps to Reproduce the Problem

  1. Create a GSI
  2. Add @DynamoDBIndexHashKey in entity class
  3. Add table name resolver and add some prefix
  4. Run the query table name resolver wont be called

Specifications

implementation("com.amazonaws:aws-java-sdk-dynamodb:1.11.914")
implementation("com.amazonaws:aws-java-sdk-sts:1.11.914")
implementation("com.github.derjust:spring-data-dynamodb:5.1.0")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions