README.md in anyway_config-2.2.0 vs README.md in anyway_config-2.2.1

- old
+ new

@@ -600,9 +600,16 @@ # - type — elements type # - array: true — mark the parameter as array coerce_types list: {type: :string, array: true} ``` +You can use `type: nil` in case you don't want to coerce values, just convert a value into an array: + +```ruby +# From AnyCable config (sentinels could be represented via strings or hashes) +coerce_types redis_sentinels: {type: nil, array: true} +``` + It's also could be useful to explicitly define non-array types (to avoid confusion): ```ruby coerce_types non_list: :string ```