forked from michaellavelle/spring-data-dynamodb
-
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
Enum Mapping #266
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Enums are mapped consistently
Actual Behavior
Finding that enums are not mapped when part of a nested DynamoDBDocument.
Steps to Reproduce the Problem
The source attribute above persists perfectly. However the CustomerType does not.
Any enum that is more than 1 level deep in the DynamoDBDocument i.e in sub documents does not get converted into a string. It comes up as type B i.e. byte buffer.
The custom convertors mentioned above don't do anything clever apart from convert between enum to string and vice versa.
Specifications
The text was updated successfully, but these errors were encountered: