blb-ventures / strawberry-django-plus

Enhanced Strawberry GraphQL integration with Django
MIT License
179 stars 47 forks source link

filters not showing up #243

Closed tasiotas closed 1 year ago

tasiotas commented 1 year ago

Hi,

After upgrading to v3, filters are not showing up in GraphiQL. They do if I have order specified.

with order

@gql.django.type(Article, filters=ArticleFilter, order=ArticleOrder)
class ArticleType(gql.relay.Node):
    slug: gql.auto
    title: gql.auto
    ...

image

without order

@gql.django.type(Article, filters=ArticleFilter)
class ArticleType(gql.relay.Node):
    slug: gql.auto
    title: gql.auto
    ...

image

bellini666 commented 1 year ago

Hey @tasiotas . I think I found the issue. It will be fixed in the next release I'm doing right now