Commit 8f90fe9
committed
Add 'unknown' to public ObjectOperationAction for forward compatibility with unrecognized server values
The public type previously only allowed known operation actions
('map.set', 'map.create' etc), meaning any future operation action from
the server would be silently cast. Now the type explicitly includes
'unknown' so consumers can handle unrecognized values.1 parent 2d93846 commit 8f90fe9
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1931 | 1931 | | |
1932 | 1932 | | |
1933 | 1933 | | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
1934 | 1938 | | |
1935 | 1939 | | |
1936 | 1940 | | |
| |||
1943 | 1947 | | |
1944 | 1948 | | |
1945 | 1949 | | |
1946 | | - | |
| 1950 | + | |
| 1951 | + | |
1947 | 1952 | | |
1948 | 1953 | | |
1949 | 1954 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
617 | 621 | | |
618 | 622 | | |
619 | 623 | | |
620 | | - | |
| 624 | + | |
621 | 625 | | |
622 | 626 | | |
623 | 627 | | |
| |||
0 commit comments