AshPostgres compilation error
While compiling ash_postgres 1.3.14 I get the following error and don't really know wether it's something related with my codebase or it is a library error.
I'm running elixir 1.14 and this is what my deps look like:
$ mix deps.compile ash_postgres
==> ash_postgres
Compiling 38 files (.ex)
== Compilation error in file lib/expr.ex ==
** (CompileError) lib/expr.ex:310: Ash.Query.Function.StringJoin.__struct__/0 is undefined, cannot expand struct Ash.Query.Function.StringJoin. Make sure the struct name is correct. If the struct name exists and is correct but it still cannot be found, you likely have cyclic module usage in your code
expanding struct: Ash.Query.Function.StringJoin.__struct__/0
lib/expr.ex:310: AshPostgres.Expr.do_dynamic_expr/5
could not compile dependency :ash_postgres, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ash_postgres", update it with "mix deps.update ash_postgres" or clean it with "mix deps.clean ash_postgres"$ mix deps.compile ash_postgres
==> ash_postgres
Compiling 38 files (.ex)
== Compilation error in file lib/expr.ex ==
** (CompileError) lib/expr.ex:310: Ash.Query.Function.StringJoin.__struct__/0 is undefined, cannot expand struct Ash.Query.Function.StringJoin. Make sure the struct name is correct. If the struct name exists and is correct but it still cannot be found, you likely have cyclic module usage in your code
expanding struct: Ash.Query.Function.StringJoin.__struct__/0
lib/expr.ex:310: AshPostgres.Expr.do_dynamic_expr/5
could not compile dependency :ash_postgres, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ash_postgres", update it with "mix deps.update ash_postgres" or clean it with "mix deps.clean ash_postgres"I'm running elixir 1.14 and this is what my deps look like:
defp deps do
[
{:ash, "~> 2.6.8"},
{:ash_json_api, "~> 0.31.1"},
{:ash_postgres, "~> 1.3.14"}
]
end defp deps do
[
{:ash, "~> 2.6.8"},
{:ash_json_api, "~> 0.31.1"},
{:ash_postgres, "~> 1.3.14"}
]
end