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

ParameterizedQuery: handle the case where a value is null #4072

Merged
merged 1 commit into from
Aug 15, 2019

Conversation

arikfr
Copy link
Member

@arikfr arikfr commented Aug 15, 2019

What type of PR is this? (check all applicable)

  • Bug Fix

@arikfr arikfr added the Backend label Aug 15, 2019
@arikfr arikfr requested a review from rauchy August 15, 2019 11:48
Copy link
Contributor

@rauchy rauchy left a comment

Choose a reason for hiding this comment

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

I'm thinking maybe it's just best to also wrap the validate() call with a catch of any exception and return False in that case, because, well, if it blows up, it's not valid.

@arikfr
Copy link
Member Author

arikfr commented Aug 15, 2019

@rauchy I guess it sounds reasonable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants