#Ecto error message %{} syntax?
10 messages · Page 1 of 1 (latest)
This is not map, this is 2a-ary tuple with first element being binary and second being keyword list
I mean, in the string. %{count}
It is just simple placeholder token in the string
It do not have any meaning for Elixir
It could not, as then you cannot differentate between placeholder and literal
I do not know if and where it is documented
This is a feature of the gettext package for elixir, which ecto passes its error messages to: https://hexdocs.pm/gettext/Gettext.html#module-interpolation