Describe the WORKFLOW SDK feature
It would be convenient if workflows/activities could support Pydantic models as input, automatically handling the (de)serializaiton. Right now, they only support dictionaries or simple values. The motivation comes from wanting to use strongly typed objects vs dictionaries (which are more opaque in their types).
There is some precedent here with the FastAPI extension supporting them in subscriptions.
Release Note
RELEASE NOTE: Workflows and activities can now use Pydantic models as their input.