Commit 644581e
authored
feat(tree): Update table schema identifier pattern (microsoft#25956)
Updates the `TableSchema` APIs to generate more expressive / more
explicit schema identifiers.
Previously, table schema would be generated with the following
identifier patterns:
- Column: `user-scope.Column`
- Row: `user-scope.Row`
- Table: `user-scope.Table`
This pattern makes it difficult to distinguish table schema generated by
Fluid Framework APIs from any user-crafted schema. To help
differentiate, and to make it possible for code to pattern match on
Fluid Framework table nodes in the future, the identifier patterns have
been updated as follows:
- Column: `com.fluidframework.table<user-scope>.Column`
- Row: `com.fluidframework.table<user-scope>.Row`
- Table: `com.fluidframework.table<user-scope>.Table`
[AB#53661](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/53661)1 parent 607da53 commit 644581e
File tree
7 files changed
+305
-176
lines changed- packages
- dds/tree
- api-report
- src
- simple-tree/api
- test
- snapshots/output/table-schema-json
- framework/fluid-framework/api-report
7 files changed
+305
-176
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
0 commit comments