Closed uros-r closed 10 years ago
Hi there,
I looked at this only very briefly - but it does look like a bug. Could you try v1.5.0-SNAPSHOT
and see if it resolves the issue?
Thanks, cheers! :-)
Confirming that the fix in dev / 1.5.0-SNAPSHOT works for me:
(batch-write-item client-opts {:mytable {:put [{:id 1 :s #{"a" "b" "c"}}]}})
=> {:unprocessed {}, :cc-units nil}
(get-item client-opts :mytable {:id 1})
=> {:id 1, :s #{"a" "b" "c"}}
Thanks for picking up so promptly! :)
Great, thanks for the confirmation. Just pushed v1.5.0
to Clojars: https://github.com/ptaoussanis/faraday/releases
Cheers!
Using faraday 1.4.0 against dynamodb-local.
Results in
Whereas this works fine:
And put-item requests also work for the example that fails with batch-write-item.
Finally, a Java implementation of the problematic BatchWriteItem request works fine (knocked up just to make sure it's not an obvious dynamodb-local problem).