Skip to content

Added ability to pipe Ecto queries to query functions #14

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

montebrown
Copy link
Contributor

Allow passing in Ecto queries to the functions for filtering children, descendants, self_and_descendants & self_and_siblings.

  • added versions of the above functions of arity 2 that take a query as the first argument.
  • the query for these functions is the first argument so that you can pipe in a composable Ecto query.

…en, descendants, self_and_descendants & self_and_siblings.

 - added versions of the above functions of arity 2 that take a query as the first argument.
 - the query for these functions is the first argument so that you can pipe in a composable Ecto query.
@montebrown montebrown force-pushed the master branch 5 times, most recently from 7f7d4f8 to c2c7287 Compare February 10, 2025 18:28
…ied an elixir version.

Also added :ecto to the application list for :dev to resolve a strange compilation issue:
 - `mix compile` fails complaining it can't find ecto.
 - `mix test` runs fine.
 - compiling a downstream project also breaks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant