TypedDicts not working with from __future__ import annotations
#187
Labels
bug
Something isn't working
from __future__ import annotations
#187
What I Did
instance.origin_type
is ForwardRef('int')https://github.com/Fatal1ty/mashumaro/blob/ab8242448631ab7a1ad2e437561377cd698a99e9/mashumaro/jsonschema/schema.py#L718C23-L718C43
Description
TypedDicts are not working with
from __future__ import annotations
.Also, it's worth noting that adding this line on top of
tests/test_jsonschema/test_jsonschema_generation.py
breaks tests:test_jsonschema_for_named_tuple_with_overridden_serialization_method
test_jsonschema_for_typeddict
test_overridden_serialization_method_with_return_annotation
test_dataclass_overridden_serialization_method
test_third_party_overridden_serialization_method
The text was updated successfully, but these errors were encountered: