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

Clarify where optional features should be enabled #2706

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

kryptan
Copy link
Contributor

@kryptan kryptan commented Aug 21, 2023

sqlx can give errors like the following:

optional feature `time` required for type TIMESTAMP of param #1

From this error message it is not clear where this feature should be enabled. I initially thought it is some feature that should be enabled in Postgres. People on Stackoverflow are also confused by this error message.

This PR changes this error message to:

optional sqlx feature `time` required for type TIMESTAMP of param #1

@abonander abonander merged commit ca608a9 into launchbadge:main Sep 22, 2023
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