Skip to content

Commit c90199b

Browse files
authored
Allow newer versions of decimal 2.x (#263)
I've been keeping an override in a project to be able to upgrade `decimal`. Other dependencies related to Phoenix specify `~> 2.0`, but recently reading the Elixir forum I realized we can do better: https://elixirforum.com/t/conflicting-dependencies-and-use-of-the-operator/68207/14?u=rhcarvalho
1 parent e4a3102 commit c90199b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ defmodule Mongodb.Mixfile do
3333
[
3434
{:telemetry, "~> 1.0"},
3535
{:db_connection, "~> 2.6"},
36-
{:decimal, "~> 2.1.1"},
36+
{:decimal, "~> 2.1 and >= 2.1.1"},
3737
{:patch, "~> 0.12.0", only: [:dev, :test]},
3838
{:jason, "~> 1.3", only: [:dev, :test]},
3939
{:credo, "~> 1.7.0", only: [:dev, :test], runtime: false},

0 commit comments

Comments
 (0)