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

feat: allow using dateStrings with specific types #1200

Merged
merged 1 commit into from
Sep 13, 2020

Conversation

B4nan
Copy link
Contributor

@B4nan B4nan commented Sep 12, 2020

This aligns the dateStrings option with mysqljs, allowing to set dateStrings: ['DATE'] to return
the DATE type as string, but keeping other datetime types processed to Date.

Related: #99

This aligns the `dateStrings` with mysqljs, allowing to set `dateStrings: ['DATE']` to return
the DATE type as string, but keeping other datetime types processed to Date.

Related: sidorares#99
@sidorares
Copy link
Owner

Thanks @B4nan !

@sidorares sidorares merged commit 3133dc1 into sidorares:master Sep 13, 2020
@B4nan
Copy link
Contributor Author

B4nan commented Sep 13, 2020

Do you have a rough ETA for a release? I am making some performance optimisations in MikroORM that required this change, and would rather not ship changes that depend on unreleased version :]

@sidorares
Copy link
Owner

@B4nan your change is published now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants