Commit ee05381
committed
Do not serialize null properties in the management model
* Ignore null values in JSON output
* This may have an impact on existing client, but it is not
likely to be substantial because normally absent properties
should be treated the same as having `null` values.
* This change enables adding new optional fields to the
Management API while maintaining backward compatibility in
the future: New properties will not be exposed to clients
unless a value for them in explicitly set.1 parent 438d06c commit ee05381
File tree
2 files changed
+4
-6
lines changed- api/management-model
- src/test/java/org/apache/polaris/core/admin/model
2 files changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 69 | | |
73 | 70 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 71 | | |
78 | 72 | | |
79 | 73 | | |
| |||
0 commit comments