Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lejoko committed Aug 12, 2024
1 parent 971fc63 commit 84bfbd4
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 31 deletions.
5 changes: 4 additions & 1 deletion lib/types/types.ex
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ defmodule AshMysql.Types do
def parameterized_type(type, _constraints) when type in [Ash.Type.Map, Ash.Type.Map.EctoType],
do: nil

def parameterized_type(Ash.Type.CiString.EctoType, _constraints),
do: nil

def parameterized_type(type, constraints) do
if Ash.Type.ash_type?(type) do
cast_in_query? =
Expand Down Expand Up @@ -155,7 +158,7 @@ defmodule AshMysql.Types do
else
type =
if is_atom(type) && :erlang.function_exported(type, :type, 1) do
#parameterized_type(type, []) |> array_to_in()
# parameterized_type(type, []) |> array_to_in()
parameterized_type(type, constraints) |> array_to_in()
else
type |> array_to_in()
Expand Down
9 changes: 4 additions & 5 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ defmodule AshMysql.MixProject do
end

if Mix.env() == :test do
def application() do
def application do
[
mod: {AshMysql.TestApp, []}
]
Expand Down Expand Up @@ -122,13 +122,12 @@ defmodule AshMysql.MixProject do
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:ecto_sql, "~> 3.9"},
{:ecto_sql, github: "elixir-ecto/ecto_sql", override: true},
{:ecto_sql, "~> 3.12"},
{:myxql, ">= 0.0.0"},
# {:ecto, "~> 3.9"},
{:ecto, github: "elixir-ecto/ecto", override: true},
{:ecto, "~> 3.12"},
{:jason, "~> 1.0"},
{:ash, ash_version("~> 3.0")},
{:picosat_elixir, "~> 0.2"},
{:ash_sql, ash_sql_version("~> 0.2")},
{:git_ops, "~> 2.5", only: [:dev, :test]},
{:ex_doc, "~> 0.22", only: [:dev, :test], runtime: false},
Expand Down
Loading

0 comments on commit 84bfbd4

Please sign in to comment.