From 829dbe1e5bf5cd51a44c3dd8eb8f2695d1528c5a Mon Sep 17 00:00:00 2001 From: Michael Maier Date: Tue, 19 Sep 2023 12:49:40 +0200 Subject: [PATCH] Update README.md Co-authored-by: Rodolfo Carvalho --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61b4e67b..0bd058b8 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ Additionally, the driver accepts both atoms and strings for document keys, but w Creating atoms from arbitrary input (such as database documents) is [discouraged](https://elixir-lang.org/getting-started/mix-otp/genserver.html#:~:text=However%2C%20naming%20dynamic,our%20system%20memory!) because atoms are not garbage collected. ## Preserve Order -If the order of the keys are important it is possible to use a different decoder module. The decoder module will +If the order of the keys is important, it is possible to use a different decoder module. The decoder module will preserve the order of the keys by adding an attribute `:order` which contains the list of keys in the original order. If you want to change the `:order` key then define a new decoder module: