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

Plan sources before creating plan_subquery closure #4548

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

greg-rychlewski
Copy link
Member

@greg-rychlewski greg-rychlewski commented Nov 12, 2024

Closes #4547

Because where and friends might need to cast parameters to field types, we need to be able to plan the sources first. This way query.sources is populated.

Copy link
Member

@josevalim josevalim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for cleaning up after me ❤️

@greg-rychlewski greg-rychlewski changed the title Plan subquery sources before planning the expressions Plan sources before creating plan_subquery closure Nov 12, 2024
@greg-rychlewski greg-rychlewski merged commit f489c96 into elixir-ecto:master Nov 12, 2024
6 checks passed
@greg-rychlewski greg-rychlewski deleted the subquery_fix branch November 12, 2024 22:20
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.

wrong(?) unknown_binding warnings when upgrading to Ecto 3.12
2 participants