Skip to content

v0.2.0 - Query Interpolation as if it is a string

Compare
Choose a tag to compare
@tessi tessi released this 23 Jul 22:38
· 31 commits to main since this release

Change interpolation syntax to be similar to string interpolation

After a discussion with Ecto maintainers

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