ash_sqlite: Error when querying on an inline code calculation
Hey there!
I'm trying out ash_sqlite on a toy project, and I'm encountering an issue which seems to boil down to querying a calculation defined as inline elixir code.
Here is the error (full stacktrace in the next post), followed by some relevant code. Happy to add more context if required.
This is invoked as
(the point is to have quick-and-dirty full text search on the content of a json
Any guess on what could be happening here?
I'm trying out ash_sqlite on a toy project, and I'm encountering an issue which seems to boil down to querying a calculation defined as inline elixir code.
Here is the error (full stacktrace in the next post), followed by some relevant code. Happy to add more context if required.
This is invoked as
Event |> Ash.Query.filter(text_data == "asd") |> Ash.read, where text_data is defined as follow:(the point is to have quick-and-dirty full text search on the content of a json
data payload).Any guess on what could be happening here?
