mypy in vscode complains about the strawberry JSON scalar type/object
from typing import Optional
import strawberry
from strawberry.scalars import JSON
@strawberry.type
class Mutation:
@strawberry.mutation
async def mutateme(
self,
configuration: Optional[JSON] = None,
) -> str:
return 'Hello'
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