This commit is contained in:
vanilia
2025-12-06 05:06:58 +07:00
parent b454f52039
commit cb950e63e9
12 changed files with 805 additions and 22 deletions

No files matched your search

@@ -86,6 +86,7 @@ func ReadDetailData(input e.ReadDetailDto, event *pl.Event, dbx ...*gorm.DB) (*e
if err := tx.
Scopes(gh.Preload(input.Includes)).
Scopes(gh.Filter(input.FilterDto)).
First(&data, input.Id).Error; err != nil {
if processedErr := pu.HandleReadError(err, event, source, input.Id, data); processedErr != nil {
return nil, processedErr