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

Adding compile time query validation? #1161

Open
AbdulWMughal opened this issue Jul 16, 2024 · 4 comments
Open

Adding compile time query validation? #1161

AbdulWMughal opened this issue Jul 16, 2024 · 4 comments

Comments

@AbdulWMughal
Copy link

@sfackler

Hi Steven, any plans to add some sort of compile time query validation to tokio_postgres?

@sfackler
Copy link
Owner

At one point I was working on a macro for that but it's been abandoned for a while: https://github.com/sfackler/rust-postgres-macros. I'm not planning on picking it back up ATM.

@AbdulWMughal
Copy link
Author

@sfackler

That was 7 years ago. Do you think it still works?

@sfackler
Copy link
Owner

Probably not.

@AbdulWMughal
Copy link
Author

I do think it would be a valuable Macro to pick up again in the future road map. Since the biggest thing for most people about sqlx and diesel is the compile time validation.

Anyways thanks for your time.

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

No branches or pull requests

2 participants