Commit 064ae24
committed
RDBC-909 Add support for serializing API results to plain objects
Introduce `returnPlainJsObjects` convention to optionally convert API results to plain objects. Update query methods to honor this setting by utilizing `JsonSerializer.toPlainObject`. Include support for environments requiring serializable results, such as Next.js.1 parent ff50e35 commit 064ae24
File tree
3 files changed
+49
-1
lines changed- src
- Documents
- Conventions
- Session
- Mapping/Json
3 files changed
+49
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
119 | 138 | | |
120 | 139 | | |
121 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
2193 | 2194 | | |
2194 | 2195 | | |
2195 | 2196 | | |
2196 | | - | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
2197 | 2204 | | |
2198 | 2205 | | |
2199 | 2206 | | |
| |||
2208 | 2215 | | |
2209 | 2216 | | |
2210 | 2217 | | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
2211 | 2222 | | |
2212 | 2223 | | |
2213 | 2224 | | |
2214 | 2225 | | |
2215 | 2226 | | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
2216 | 2232 | | |
2217 | 2233 | | |
2218 | 2234 | | |
| |||
2224 | 2240 | | |
2225 | 2241 | | |
2226 | 2242 | | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
2227 | 2247 | | |
2228 | 2248 | | |
2229 | 2249 | | |
| |||
2233 | 2253 | | |
2234 | 2254 | | |
2235 | 2255 | | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
2236 | 2261 | | |
2237 | 2262 | | |
2238 | 2263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
0 commit comments