GORM hydrates default:true back onto the struct during Create, so the HTTP 201 body (and a later Update on the same pointer) could disagree with the row just written. |
||
|---|---|---|
| .. | ||
| repository | ||
| service | ||
GORM hydrates default:true back onto the struct during Create, so the HTTP 201 body (and a later Update on the same pointer) could disagree with the row just written. |
||
|---|---|---|
| .. | ||
| repository | ||
| service | ||