v0.2.0 - Query Interpolation as if it is a string
Change interpolation syntax to be similar to string interpolation
After a discussion with Ecto maintainers
- elixir-ecto/ecto#4239 (comment)
- https://elixirforum.com/t/how-to-pass-named-or-numbered-parameters-to-ectos-fragment/49525/5?u=tessi
- https://groups.google.com/g/elixir-ecto/c/gEqI9lE3HGE
it seems like this feature will not be part of Ecto proper. However, the discussion revealed
a better implementation of this library (thanks @bamorim !) by using string interpolation instead of atom-like names.
This gives:
- better syntax highlighting for param names within fragment query strings
- better compilation time (for usage of the macro as well as for this lib)
- less dependencies for this library