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
Since commit 8a53e31 changes the optional dependency on ecto to ecto_sql, since my project is still on Ecto 2.x the optional dependency on ecto_sql has no effect. This means that dataloader may be compiled before ecto, which in turns means that the if Code.ensure_loaded?(Ecto) check fails in dataloader_ecto.ex and then my code breaks since it uses Dataloader.Ecto.
I'm not sure what the best course is for this. Some options/thoughts:
List a breaking change that only Ecto 3.x is supported
Split Dataloader.Ecto into a separate project that has a direct dependency on ecto
a. This isn't ideal for me but it would've caused the error to appear earlier since I would have noticed ecto_sql being pulled in (or gotten a mix conflict)
Revert the dependency change (this should be okay since everything that Dataloader.Ecto uses is actually from ecto and not ecto_sql
The text was updated successfully, but these errors were encountered:
Since commit 8a53e31 changes the optional dependency on
ecto
toecto_sql
, since my project is still on Ecto 2.x the optional dependency onecto_sql
has no effect. This means that dataloader may be compiled before ecto, which in turns means that theif Code.ensure_loaded?(Ecto)
check fails indataloader_ecto.ex
and then my code breaks since it usesDataloader.Ecto
.I'm not sure what the best course is for this. Some options/thoughts:
Dataloader.Ecto
into a separate project that has a direct dependency on ectoa. This isn't ideal for me but it would've caused the error to appear earlier since I would have noticed ecto_sql being pulled in (or gotten a mix conflict)
Dataloader.Ecto
uses is actually fromecto
and notecto_sql
The text was updated successfully, but these errors were encountered: