Commit 3b18f70
authored
Remove nodeKey field kind (#25847)
## Description
There has never been a way to use the nodeKey field kind since before
the simple simple-tree API layer was created. Any document using it is
impossible to open with our existing view schema APIs, and would have
had to have been created using either internal APIs or before
shared-tree was stabilized in FF 2.0.
## Breaking Changes
Removing support for nodeKey could cause a currently impossible to
"view" document which uses it from before FF 2.0 to error on load rather
than on view.
As such documents are believed to not exist, and if they do exist are
impossible to view or edit and never had forwards compat guarantees,
erroring on load for them seems like a non-issue.1 parent 7aae2a7 commit 3b18f70
File tree
4 files changed
+2
-53
lines changed- packages/dds/tree/src
- feature-libraries/default-schema
- test/snapshots/output/codec-tree
4 files changed
+2
-53
lines changedLines changed: 2 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
| 110 | + | |
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
| |||
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | 131 | | |
155 | 132 | | |
156 | 133 | | |
| |||
214 | 191 | | |
215 | 192 | | |
216 | 193 | | |
217 | | - | |
218 | 194 | | |
219 | 195 | | |
220 | 196 | | |
| |||
225 | 201 | | |
226 | 202 | | |
227 | 203 | | |
228 | | - | |
229 | 204 | | |
230 | 205 | | |
231 | 206 | | |
| |||
236 | 211 | | |
237 | 212 | | |
238 | 213 | | |
239 | | - | |
240 | 214 | | |
241 | 215 | | |
242 | 216 | | |
| |||
247 | 221 | | |
248 | 222 | | |
249 | 223 | | |
250 | | - | |
251 | 224 | | |
252 | 225 | | |
253 | 226 | | |
| |||
284 | 257 | | |
285 | 258 | | |
286 | 259 | | |
287 | | - | |
| 260 | + | |
288 | 261 | | |
289 | 262 | | |
290 | 263 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
| |||
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 77 | | |
86 | 78 | | |
87 | 79 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
| |||
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 77 | | |
86 | 78 | | |
87 | 79 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
| |||
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 77 | | |
86 | 78 | | |
87 | 79 | | |
| |||
0 commit comments