Generic types follow a naming convention of prepending the variable name to the type name. But when the variable is a builtin scalar, it's using the name of the python class, instead of the corresponding GraphQL scalar.
@strawberry.type
class Output(Generic[T]):
data: T
Output[str] # resolves to StrOutput instead of StringOutput
0.113
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too