You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can work around this issue by setting extra=Extra.allow on the pydantic model, but I would rather avoid having to do this. This comment explains why the workaround is necessary.
I am seeing an issue when generating typescript types from pydantic models that consist of a custom root dict field, like this:
Pydantic model:
Expected result:
Actual result:
I can work around this issue by setting
extra=Extra.allow
on the pydantic model, but I would rather avoid having to do this. This comment explains why the workaround is necessary.Python 3.10
Pydantic 1.10
pydantic-to-typescript 1.0.10
The text was updated successfully, but these errors were encountered: