Skip to content

fix: resolve potential None value for filter argument #83

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

Conversation

rapsealk
Copy link
Contributor

Hello graphene-django-filter!

This pull request updates the retrieval of the filter argument to use or {} to ensure that filter_arg defaults to an empty dictionary if the value of args.get(settings.FILTER_KEY) is None, preventing potential errors due to unexpected None values.

Bug Fix:

@rapsealk rapsealk marked this pull request as ready for review January 16, 2025 02:31
@rapsealk rapsealk changed the title fix: Resolve potential None value for filter argument fix: resolve potential None value for filter argument Jan 16, 2025
@thomas-arun thomas-arun self-requested a review March 24, 2025 17:30
@Luferov Luferov merged commit 52c8486 into devind-team:main Apr 6, 2025
@rapsealk rapsealk deleted the fix/resolve-potential-none-filter-arg branch April 6, 2025 13:26
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