-
Notifications
You must be signed in to change notification settings - Fork 16
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
An AttributeValue may not contain an empty string #32
Comments
If the value is |
"Converting empty values to null is now an opt-in feature of the document client; you can pass a boolean convertEmptyValues option to the document client constructor to have it do so. I'll open a PR to improve the documentation of this feature." |
Cool, we should definitely add it and I believe the best default is to make it opt-out and do this by default. Thanks for letting me know @mikedizon! Much appreciated. |
If set, it seems to be setting blank values to true. Not sure what's causing it. |
Might be a bug in the SdK itself. Will have a look at it tomorrow. |
Any update? |
I looked at the issue thread regarding the |
If some properties are empty strings, the insert/update fails. Should we filter out those empty strings or is it up to the user?
example
The text was updated successfully, but these errors were encountered: