Closed zak-raw closed 1 year ago
Just faced the same issue. Not sure if it's AWS or Dynamoid
Thank you for the bug report. I fixed the issue in https://github.com/Dynamoid/dynamoid/pull/681. Could you please take a look and check whether it fixes your issue?
Not sure that it makes sense to prepare a patch-level release now because there is already one merged PR with refactoring and new feature (https://github.com/Dynamoid/dynamoid/pull/655).
@andrykonchin Thank you for your prompt response. 🙇 I checked the diff and I think the issue is resolved. I will update Gemfile and test our Rails application when 3.9.1 is released.
Since
3.9.0
, An errorAws::DynamoDB::Errors::ValidationException: Invalid attribute value type
is raised when trying to update an attribute that is a key of a GSI tonil
viasave!
,update_attributes!
, etc. This was possible until3.8.0
.Also, it seems a configuration
store_attribute_with_nil_value: false
don't work.