Register CachedAvatar and Photo with encoding/gob so Redis can properly deserialize them. Migrate both to use RememberValue[T] which calls GetWithValue() internally, fixing the broken type assertion when Redis is the keyvalue backend. Also removes the recursion-depth fallback in upload.go since RememberValue eliminates the type mismatch failure mode entirely. |
||
|---|---|---|
| .. | ||
| auth | ||
| avatar | ||
| background | ||
| dump | ||
| keyvalue | ||
| migration | ||