Open
Description
An MRE can be found here: https://github.com/multimeric/AriadneCodegenBug.
In summary, a schema such as:
type Query {
boards(
ids: [ID!]
): [String]
}
Incorrectly produces:
class Query:
@classmethod
def boards(cls, *, ids: Optional[str] = None) -> GraphQLField:
...
ids
should be list[str]
or similar, and not a scalar Optional[str]
.
Metadata
Metadata
Assignees
Labels
No labels