Skip to content

Conversation

@jkimbo
Copy link
Member

@jkimbo jkimbo commented Jul 13, 2019

Fixes #700

Copy link
Collaborator

@zbyte64 zbyte64 left a comment

Choose a reason for hiding this comment

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

Would like to see a test cover what happens when they don't request a required connection field.

pytestmark = pytest.mark.django_db


def test_required_connection_field():
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is the difference between this test and test_required_filter_field ?

Copy link
Member Author

Choose a reason for hiding this comment

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

@zbyte64 this test uses a DjangoConnectionField while the other test uses a DjangoFilterConnectionField

@jkimbo
Copy link
Member Author

jkimbo commented Aug 1, 2019

Looks like this got fixed in #610

@jkimbo jkimbo closed this Aug 1, 2019
@ulgens ulgens deleted the bugfix/filter-connection-required branch December 31, 2020 05:19
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.

Required DjangoFilterConnectionField has "no _meta attribute" error.

3 participants