Commit d1be856
Fix description silently dropped by encodeDefaults=false (#55)
The Retrofit kotlinx Json (NetModule) keeps encodeDefaults=false, so a
@serializable request-body property equal to its declared default is
omitted from the payload.
ItemTagBodyDetail.description = "" (== default) was dropped, so clearing
a description on edit was silently ignored by the server's partial update.
Drop the default (both call sites already pass description explicitly);
update DemoItemTagRepositoryTest to pass description explicitly.
Bump versionCode to 11 / versionName to 3.2.6 and update CHANGELOG.
Mirrors NativeAppTemplate-Android a78f42e. (The DeviceRegistrationBody
fix in that commit does not apply — the Free variant has no device
registration.)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1976c83 commit d1be856
4 files changed
Lines changed: 14 additions & 3 deletions
File tree
- app
- src/test/kotlin/com/nativeapptemplate/nativeapptemplatefree/demo/item_tag
- model/src/main/kotlin/com/nativeapptemplate/nativeapptemplatefree/model
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
0 commit comments