Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support chrono NaiveDate in OpenApi Object #252

Closed
eiswind opened this issue Apr 10, 2022 · 2 comments
Closed

Support chrono NaiveDate in OpenApi Object #252

eiswind opened this issue Apr 10, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@eiswind
Copy link

eiswind commented Apr 10, 2022

Description of the feature

We tried to use a postgres DATE type, that maps to chrono NaiveDate in tokio postgres.
Unfortunately this is not supported in the Object derive.

We did workaround using a timestamptz/ DateTime mapping. But it would be great if we had a date only there.

Code example (if possible)

@eiswind eiswind added the enhancement New feature or request label Apr 10, 2022
sunli829 added a commit that referenced this issue Apr 11, 2022
sunli829 added a commit that referenced this issue Apr 11, 2022
@sunli829
Copy link
Collaborator

Released in v1.3.23

@eiswind
Copy link
Author

eiswind commented Apr 11, 2022

Thanks a lot. Works like a charm.

@eiswind eiswind closed this as completed Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants