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

fix complex parameter filter with between #150

Merged
merged 1 commit into from
Aug 11, 2024

Conversation

wu-clan
Copy link
Contributor

@wu-clan wu-clan commented Aug 8, 2024

Pull Request Template for FastCRUD

Description

There is an error in the normal use of the between filter, this pr will fix it!

Changes

Fixed _parse_filters method

Tests

Added test cases to sqlalchemy and sqlmodel: test_parse_filters_between_condition.

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • I have added necessary documentation (if appropriate).
  • I have added tests that cover my changes (if applicable).
  • All new and existing tests passed.

Additional Notes

This repair process also includes changes to .gitignore, notably there was a mypy type checking error in crud_router, which I was unable to fix, but instead skipped it over checking.

@igorbenav
Copy link
Owner

Nice one, thanks!

@igorbenav igorbenav added the bug Something isn't working label Aug 11, 2024
@igorbenav igorbenav self-assigned this Aug 11, 2024
@igorbenav igorbenav merged commit 66f5a3a into igorbenav:main Aug 11, 2024
7 checks passed
@wu-clan wu-clan deleted the fix-parse-filter branch August 11, 2024 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants