Skip to content
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

Type issues in Amazon.DynamoDBv2.Model.AttributeValue #146

Closed
amattie opened this issue Nov 5, 2014 · 2 comments
Closed

Type issues in Amazon.DynamoDBv2.Model.AttributeValue #146

amattie opened this issue Nov 5, 2014 · 2 comments
Labels
feature-request A feature should be added or improved.

Comments

@amattie
Copy link

amattie commented Nov 5, 2014

AttributeValue's N type is string, but according to the (dynamodb-2012-08-10.normal.json)[https://github.com/aws/aws-sdk-net/blob/master/ServiceModels/dynamodb-2012-08-10.normal.json] service model, it's a "NumberAttributeValue" and thus I think should be a double? or something in AttributeValue.

Also, AttributeValue's constructor only takes a string or List. It'd be easier to use in practice if it accepted the other acceptable attribute types.

@PavelSafronov
Copy link

NumberAttributeValue is actually configured as a string.

Thanks for the constructor suggestion, that sounds like a good idea. I'll see if it's possible to add.

@PavelSafronov PavelSafronov added Question feature-request A feature should be added or improved. labels Nov 6, 2014
@jimfl
Copy link
Contributor

jimfl commented Oct 23, 2015

@jimfl jimfl closed this as completed Oct 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

3 participants