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: resolve potential None value for filter argument #83

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

rapsealk
Copy link

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
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.

1 participant