You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
** (ArgumentError) you attempted to apply a function on {"table_name", Schema}. Modules (the first argument of apply) must always be an atom :erlang.apply({"table_name", Schema}, :__schema__, [:query_fields]) (ecto_shorts 2.4.0) lib/query_builder/schema.ex:27: EctoShorts.QueryBuilder.Schema.create_schema_filter/3 (elixir 1.14.2) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3 (ecto_shorts 2.4.0) lib/actions.ex:143: EctoShorts.Actions.all/3
The text was updated successfully, but these errors were encountered:
Using a Tuple as the Queryable (to use a particular partition, for instance, like
{"partitioned_table_1", Schema}
) works if no params are passed:But when supplying params for
all/3
orfind/3
, anArgumentError
is raised:The text was updated successfully, but these errors were encountered: