Commit 8da41bc
fix: printing object string in profile extension appendix (#941)
### **The Problem**
Using `to_s` on a `T::Enum` like `kind` returns the object reference
(e.g., `#<DatabaseObject::Kind::Profile>`) instead of the actual string
value.
### **The Solution**
Replaced `to_s` with `serialize`, which correctly returns the string
value (e.g., `"profile"`).
### **Why**
`serialize` is the intended way to extract string values from `T::Enum`.
Fixes #8531 parent cb43d32 commit 8da41bc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments