@@ -136,7 +136,7 @@ create_channel_state(
Keys = maps:with([hash_key, range_key], Conf),
Keys1 = maps:fold(
fun(K, V, Acc) ->
- Acc#{K := erlang:binary_to_atom(V)}
+ Acc#{K := erlang:binary_to_existing_atom(V)}
end,
Keys,
Keys
@@ -0,0 +1,6 @@
+Complemented some necessary but missed keys for the DynamoDB connector and the action.
+
+## Breaking changes
+* The old configuration no longer works, although it actually didn't work properly until this fix.
+* For DynamoDB connector, a new key `region` is necessary.
+* `hash_key` and `range_key` are now supported in the DynamoDB action, and `hash_key` is required.
@@ -18,8 +18,8 @@ table.desc:
table.label:
"""Table """
-region.label:
-"""Region of the AWS Dynamo"""
+region.desc:
+"""Region of AWS Dynamo"""
url.desc:
"""The url of DynamoDB endpoint."""