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

Fix impl SqlOrd postgres > postgres_backend feature flag. #3854

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

brocaar
Copy link
Contributor

@brocaar brocaar commented Nov 17, 2023

First of all, thanks for your excellent work!

I believe the SqlOrd should be implemented if the postgres_backend is enabled, not postgres. Else the SqlOrd trait would not be implemented for these types if using diesel-asyc.

The PostgreSQL types are included when using the postgres_backend
feature flag, the same feature flag should be used for the SqlOrd
implementation of these types.
@weiznich weiznich requested a review from a team November 17, 2023 19:21
Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable 👍

@weiznich weiznich added this pull request to the merge queue Nov 18, 2023
Merged via the queue into diesel-rs:master with commit 566dccc Nov 18, 2023
37 checks passed
@brocaar
Copy link
Contributor Author

brocaar commented Feb 1, 2024

@weiznich the last Diesel release has been quite some time ago and does not include this fix. Would it be possible to create a new release which includes this fix? Thanks in advance!

@weiznich
Copy link
Member

weiznich commented Feb 2, 2024

@brocaar The next feature release is still blocked on #3745. This fix might be something for a patch release, but it would need someone to backport this and other relevant fixes to the 2.1.x branch.

@weiznich weiznich added the maybe backport Maybe backport this pr to the latest diesel release label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maybe backport Maybe backport this pr to the latest diesel release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants