Skip to content

Conversation

romeroyonatan
Copy link
Contributor

@romeroyonatan romeroyonatan commented Jan 28, 2025

Issue

The Filter classes are being created although create_filters is False.

For example:

input PetTypeFilter {
  and: [PetTypeFilter]
  or: [PetTypeFilter]
}

Solution

Check create_filters before creating the Filter class.

Related

#414

@romeroyonatan romeroyonatan force-pushed the romeroyonatan/do-not-create-filter-class branch from 873e477 to 2bd335e Compare January 28, 2025 20:05
@erikwrede
Copy link
Member

Thank you!

@erikwrede erikwrede merged commit 72c3cce into graphql-python:master Apr 7, 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.

2 participants