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

use QueryableByName in diesel derives to avoid scary error messages #1151

Open
insipx opened this issue Oct 17, 2024 · 0 comments
Open

use QueryableByName in diesel derives to avoid scary error messages #1151

insipx opened this issue Oct 17, 2024 · 0 comments

Comments

@insipx
Copy link
Contributor

insipx commented Oct 17, 2024

Queryable derive expects the order to match the schema, otherwise it spits out a very large error message:

https://github.com/xmtp/libxmtp/actions/runs/11390537944/job/31692378388
#1150

https://docs.rs/diesel/latest/diesel/deserialize/derive.Queryable.html
https://docs.rs/diesel/latest/diesel/deserialize/derive.QueryableByName.html

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

No branches or pull requests

1 participant