Skip to content

Add expression to nil comparison error message #4561

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

Merged
merged 2 commits into from
Dec 25, 2024

Conversation

greg-rychlewski
Copy link
Member

Was reading Elixir Forum and found this: https://elixirforum.com/t/ecto-argumenterror-comparison-with-nil-is-forbidden-when-querying-for-null-field-in-phoenix-elixir/68343/3

This should help make the issue easier to identify.

@josevalim
Copy link
Member

I dropped some suggestions, WDYT?

Btw, happy holidays @greg-rychlewski!

@greg-rychlewski
Copy link
Member Author

oh yeah that's a really good point. updated with your suggestions.

happy holidays to you as well!

@greg-rychlewski greg-rychlewski merged commit 06a2969 into elixir-ecto:master Dec 25, 2024
6 checks passed
@greg-rychlewski greg-rychlewski deleted the nil_compare_msg branch December 25, 2024 10:47
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.

2 participants