Skip to content

Commit

Permalink
Update README, version bump to 2.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenklein committed Aug 12, 2019
1 parent ebc04b7 commit 81cc698
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ along with `:ex_aws` and your preferred JSON codec / http client
def deps do
[
{:ex_aws, "~> 2.0"},
{:ex_aws_dynamo, "~> 2.1"},
{:ex_aws_dynamo, "~> 2.2"},
{:poison, "~> 3.0"},
{:hackney, "~> 1.9"},
]
Expand All @@ -20,6 +20,19 @@ end

Documentation can be found at [https://hexdocs.pm/ex_aws_dynamo](https://hexdocs.pm/ex_aws_dynamo).

## Configuration

### `decode_sets`

The default behavior of this application is to encode Elixir `MapSet` data to one of DynamoDB's three set types - number set, string set, or binary set; however, those DynamoDB datatypes will be decoded to Elixir `List`. If you wish to decode DynamoDB set types to Elixir `MapSet`, you can set the configuration for this application to include `decode_sets: true`.

For example:

```
config :ex_aws, :dynamodb,
decode_sets: true
```

## License

The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule ExAws.Dynamo.Mixfile do
use Mix.Project

@version "2.1.0"
@version "2.2.0"
@service "dynamo"
@url "https://github.com/ex-aws/ex_aws_#{@service}"
@name __MODULE__ |> Module.split() |> Enum.take(2) |> Enum.join(".")
Expand Down

0 comments on commit 81cc698

Please sign in to comment.