strawberry.asdict
Convert a strawberry object into a dictionary.
This wraps the dataclasses.asdict function to strawberry.
Returns:
A dictionary representation of the object.
Signature:
Parameters:
-
obj:
The object to convert into a dictionary.
- Type
-
Any