Annotations using inner field names and values of TypedDicts/dataclass like objects

I’m not sure if my comment will be helpful, but I have a use case for this idea on Starlette (FastAPI dependency).

I’ve explained it here: How to convert `TypedDict` to a `dataclass_transform` behavior? · python/typing · Discussion #1457 · GitHub.