Add support for clauses with nil values in Repo.get_by(!)/2#2125
Merged
josevalim merged 2 commits intoelixir-ecto:masterfrom Jul 12, 2017
tlux:nil-support-for-repo-get-by
Merged
Add support for clauses with nil values in Repo.get_by(!)/2#2125josevalim merged 2 commits intoelixir-ecto:masterfrom tlux:nil-support-for-repo-get-by
Repo.get_by(!)/2#2125josevalim merged 2 commits intoelixir-ecto:masterfrom
tlux:nil-support-for-repo-get-by
Conversation
|
Ebert has finished reviewing this Pull Request and has found:
You can see more details about this review at https://ebertapp.io/github/elixir-ecto/ecto/pulls/2125. |
Member
|
❤️ 💚 💙 💛 💜 |
Member
|
This unfortunately has security implications I did not consider when I merged the pull request, apologies. This will be reverted in the upcoming 2.2.1 release. |
Contributor
Author
|
Could you please give some details on that? |
Member
|
It is the whole reason why we ask |
bartekupartek
pushed a commit
to bartekupartek/ecto
that referenced
this pull request
Mar 19, 2019
bartekupartek
pushed a commit
to bartekupartek/ecto
that referenced
this pull request
Mar 19, 2019
…elixir-ecto#2125)" This reverts commit 8e1b378.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello Everyone!
I've just been trying to use
Repo.get_by/2with anilvalue in one of the clauses and encountered the following error:However, this PR solves the issue. Any feedback appreciated! Thanks for all the great work with Ecto! 👍