Skip to content

Check for filters defined on base filterset classes#730

Merged
jkimbo merged 4 commits intographql-python:masterfrom
kikeh:master
Aug 7, 2019
Merged

Check for filters defined on base filterset classes#730
jkimbo merged 4 commits intographql-python:masterfrom
kikeh:master

Conversation

@kikeh
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread graphene_django/filter/tests/test_fields.py
@jkimbo jkimbo requested review from mvanlonden, phalt and zbyte64 August 2, 2019 18:24
@kikeh
Copy link
Copy Markdown
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
Copy Markdown
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