Skip to content

Check for filters defined on base filterset classes #730

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
merged 4 commits into from
Aug 7, 2019

Conversation

kikeh
Copy link
Contributor

@kikeh kikeh commented Aug 2, 2019

Fixes #729, an issue with getting filter args from filtersets that have a base class with common filters, which was crashing.

Copy link
Member

@jkimbo jkimbo left a comment

Choose a reason for hiding this comment

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

Thanks @kikeh ! The code change looks fine but I've added a suggested improvement for the test.

@jkimbo jkimbo requested review from zbyte64, mvanlonden and phalt August 2, 2019 18:24
@kikeh
Copy link
Contributor Author

kikeh commented Aug 6, 2019

@jkimbo I just updated the test so it uses the filter and checks for the proper article. Check it out and let me know if there is anything else I can do :)

Copy link
Member

@jkimbo jkimbo left a comment

Choose a reason for hiding this comment

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

Looks good thanks @kikeh

@jkimbo jkimbo merged commit 6e137da into graphql-python:master Aug 7, 2019
@jkimbo jkimbo mentioned this pull request Aug 7, 2019
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.

Change in get_filtering_args_from_filterset on 2.4.0 breaks some filters
3 participants