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
Logic in type_converter when, with orjson enabled, types are generated as "datetime.date".
Describe alternatives you've considered
Potentially some other hooks or injectable logic inside type_converter that could allow a developer to inject or otherwise override type generation. This could be some kind of type registry.
Additional context
I am generating schema for date types that do not have time component, and would be incorrect to use datetime type.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When I am creating fields with type string, and format "date" I would like them to be typed as python
datetime.date
Describe the solution you'd like
Logic in type_converter when, with orjson enabled, types are generated as "datetime.date".
Describe alternatives you've considered
Potentially some other hooks or injectable logic inside type_converter that could allow a developer to inject or otherwise override type generation. This could be some kind of type registry.
Additional context
I am generating schema for date types that do not have time component, and would be incorrect to use datetime type.
The text was updated successfully, but these errors were encountered: