Shayan Yousefi
Shayan Yousefi
I'll definitely work on it when I find some free time.
While working on the code, I noticed that there are no query methods that return errors, nor are there any struct fields like Gorm's Error field. However, errors could potentially...
> Do you check the Gorm implementation? https://gorm.io/docs/preload.html > > Can we use that way to implement WhereHas? I am familiar with GORM's Preload, but I don't think it's the...
> @shayan-yousefi Sorry for the delay, I missed this message. Yes, Gorm doesn't have the WhereHas method, and your explanation about Preload is right. How about the Joins Preloading of...
> @shayan-yousefi Thanks for your explanation, basically, I want to use the ready-made methods to reduce the complicated logic, but if there are no other ways, the current logic in...
I find gorm support composit foreignKeys. Are we want to support it? If yes, I have to think in another way @hwbrzzl
@hwbrzzl this PR is done. But I can't run tests to start writing tests. I fix mocks. The issue is that docker containers in test cases always have connection refused...
> @shayan-yousefi What system are you using? what do you mean, system? if you mean os, I use Ubuntu 24.04
> I can check the basic logic before you write test cases. @hwbrzzl thanks, Are you ok with that? about tests, I think the docker containers do not run correctly,...
@hwbrzzl I will read your reviews. And fix them. Thanks