Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The diesel ORM is great, but it seems that each api returns a different type and doing a builder pattern generically across different functions and getting the types correct is like being in the worst C++ templating hell.

Diesel provides the `into_boxed` method [0] for composing queries.

[0]: https://docs.diesel.rs/diesel/query_dsl/trait.QueryDsl.html#...



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: