-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Milestone
Description
Currently when using TypedDict as a type hint, Robot simply converts the value to a dictionary but doesn't convert or validated individual items. We are planning to add conversion and validation for generics in RF 5.1 (#4433) and it would be both convenient and consistent to also handle TypedDict
objects better.
This change will cause backwards incompatibility problems if someone has used TypedDict
as a type hint and used arguments do not actually match it. I don't think that's a desired situation and explicitly preventing it can be considered a bug fix.