You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
strawberry codegen --schema schema.graphql generates models referencing postponed types as its class variable instead of using a string to be deferred.
Describe the Bug
From schema, the following code has been generated. In this example, AccessCredentialFilter is referencing itself inside the model
strawberry codegen --schema schema.graphql
generates models referencing postponed types as its class variable instead of using a string to be deferred.Describe the Bug
From schema, the following code has been generated. In this example, AccessCredentialFilter is referencing itself inside the model
However, it should rather be
or
System Information
Additional Context
It seems there was a related discussion: #769
but not sure if it was discussed in the context of codegen.
I'd be happy to contribute if I can be directed to the right part of the code.
Upvote & Fund
The text was updated successfully, but these errors were encountered: