Matt Wright

Results 14 comments of Matt Wright

> Is there any new information, features or references for one-to-many or many-to-many relationships with `query_as!` since the last activity here? I'm interested in a seemingly straightforward case where one...

EDIT: Fixed with #8238 and #8236 Can't seem to get this working with the sqlx::query_as! macro. I have enabled both org.rust.cargo.evaluate.build.scripts and org.rust.macros.proc I get no methods on sqlx::query_as!(). see...

**Actual** ![image](https://user-images.githubusercontent.com/36570412/137799138-297ff1de-e358-4378-861a-8e2315e3ef93.png) **Expected (this is what rust-analyzer shows in vscode) - Note correct methods showing such as fetch_all()** https://docs.rs/sqlx/0.5.9/sqlx/query/struct.QueryAs.html ![expect](https://user-images.githubusercontent.com/36570412/137799509-b24143c4-f938-4b96-bb2b-042693296300.png) )

> I've noted that for sqlx I need to > > * set `SQLX_OFFLINE=true` in my project's root `.env` > * run `cargo sqlx prepare` > > for `intellij-rust` to...

Having issues with proc macros again #8423

> 1. CargoRepository could be used in multiple services, and the Repo is part of the domain (not the application layer), tied to the Cargo in this case. > >...

Take a look here for an example of how I did integration tests. I wouldn't recommend writing these until your happy with the API as it can be tedious to...