Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ecto.Rescope.Query? Cannot expand struct Ecto.Query #4

janpieper opened this issue Sep 23, 2019 · 1 comment


Copy link

commented Sep 23, 2019

When fetching ecto_rescope from ({:ecto_rescope, "~> 0.1.1"}), the package contains lib/ecto_rescope/query.ex with Ecto.Rescope.Query which does not compile:

== Compilation error in file lib/ecto_rescope/query.ex ==                                                            
** (CompileError) lib/ecto_rescope/query.ex:29: Ecto.Query.__struct__/0 is undefined, cannot expand struct Ecto.Query
    lib/ecto_rescope/query.ex:29: (module)                                                                           

After changing to {:ecto_rescope, github: "erikreedstrom/ecto_rescope", tag: "v0.1.1"}, everything works fine again 🤔


This comment has been minimized.

Copy link

commented Oct 2, 2019

Hmm... ok. Will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.