This repository was archived by the owner on Jun 8, 2026. It is now read-only.
Commit d3aea1e
committed
FEA-1548: Review feedback - legacy sync backward compat, omit null identity fields
- Guard loadSyncedSessions against legacy sidecar DBs without identity columns
by checking PRAGMA table_info and falling back to NULL aliases
- Omit userId/organizationId from sync payload when null to avoid sending
null fields to receivers that don't know about them
Testing: typecheck and lint pass1 parent fb13233 commit d3aea1e
1 file changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
919 | 919 | | |
920 | 920 | | |
921 | 921 | | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
922 | 928 | | |
923 | 929 | | |
924 | 930 | | |
| |||
935 | 941 | | |
936 | 942 | | |
937 | 943 | | |
938 | | - | |
939 | | - | |
| 944 | + | |
940 | 945 | | |
941 | 946 | | |
942 | 947 | | |
| |||
1044 | 1049 | | |
1045 | 1050 | | |
1046 | 1051 | | |
1047 | | - | |
1048 | | - | |
| 1052 | + | |
| 1053 | + | |
1049 | 1054 | | |
1050 | 1055 | | |
1051 | 1056 | | |
| |||
1111 | 1116 | | |
1112 | 1117 | | |
1113 | 1118 | | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
1114 | 1130 | | |
1115 | 1131 | | |
1116 | 1132 | | |
| |||
0 commit comments