strawberry-graphql / strawberry-django

Strawberry GraphQL Django extension
https://strawberry.rocks/docs/django
MIT License
404 stars 117 forks source link

Strawberry.enum does not return a valid class type #66

Closed deibeljc closed 1 year ago

deibeljc commented 2 years ago

When defining an enum without the class definition since I am dynamically building it, I get

image

If I try to use strawberry.enum on the actual field I get

image

Upvote & Fund

Fund with Polar

la4de commented 2 years ago

@deibeljc, This seems to be generic strawberry-graphql issue and not related to the django integration. Please report this to the strawberry project if you agree that's the case.

https://github.com/strawberry-graphql/strawberry