-
Notifications
You must be signed in to change notification settings - Fork 549
fix(tree): walk allowed types #24820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 29 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
aa6c1f1
stuff
jenn-le 4faed42
exposing tree node schema api issue
jenn-le 1a34af1
Merge remote-tracking branch 'upstream/main' into fix-walk-allowed-types
jenn-le e831ff7
write tests and get them working
jenn-le 8792f09
use non alpha
jenn-le 16d2396
clean up and add tests
jenn-le 9986975
Update packages/dds/tree/src/simple-tree/core/treeNodeSchema.ts
jenn-le 58201d3
Update packages/dds/tree/src/simple-tree/core/treeNodeSchema.ts
jenn-le 426ef3d
cleanup
jenn-le f732d2f
clean up tests
jenn-le 630b151
get rid of readonly sets of annotated allowed schemas
jenn-le 18e5318
cleanup
jenn-le 4c5a5b4
build
jenn-le 3d12712
visit all nodes
jenn-le 616dba6
rename and changeset
jenn-le 593e70b
downcast helper
jenn-le 4addf0d
dedupe annotated types
jenn-le 59e0919
refactor
jenn-le 1cb7ca2
Merge remote-tracking branch 'upstream/main' into fix-walk-allowed-types
jenn-le 9a7102d
remove sealed
jenn-le 79065bb
fix configuration
jenn-le 2ac5480
fix
jenn-le 058687e
remove internal
jenn-le 508e6b4
Update packages/dds/tree/src/simple-tree/api/configuration.ts
jenn-le 68f1350
Update .changeset/six-steaks-clean.md
jenn-le 12b28df
Update packages/dds/tree/src/simple-tree/core/treeNodeSchema.ts
jenn-le 3e27e94
Merge remote-tracking branch 'upstream/main' into fix-walk-allowed-types
jenn-le ed00bd7
Merge branch 'fix-walk-allowed-types' of https://github.com/jenn-le/F…
jenn-le 1e122cb
use annotatedallowedtypes
jenn-le 5b6b110
Update packages/dds/tree/src/simple-tree/api/configuration.ts
jenn-le d6cddef
Update packages/dds/tree/src/simple-tree/core/treeNodeSchema.ts
jenn-le 55420e8
Update packages/dds/tree/src/simple-tree/core/treeNodeSchema.ts
jenn-le 29fb81f
fix typo
jenn-le dd106d7
fix error
jenn-le 6fd8393
Update packages/dds/tree/src/simple-tree/core/walkSchema.ts
jenn-le b4e7de5
don't pass annotations to walkNodeSchema
jenn-le 2519edf
build
jenn-le 5a2e184
Merge branch 'fix-walk-allowed-types' of https://github.com/jenn-le/F…
jenn-le 2ab61e9
fixes
jenn-le 4d07d9e
cleanup
jenn-le 8100000
fix tests
jenn-le File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"fluid-framework": minor | ||
"@fluidframework/tree": minor | ||
"__section": tree | ||
--- | ||
Rename and change type of `annotatedAllowedTypeSet` on `FieldSchemaAlpha` to more closely align with `allowedTypesSet` | ||
Check warning on line 6 in .changeset/six-steaks-clean.md
|
||
|
||
This changes the `annotatedAllowedTypeSet` property on [`FieldSchemaAlpha`](https://fluidframework.com/docs/api/fluid-framework/fieldschemaalpha-class). | ||
It is now called `annotatedAllowedTypesNormalized` and stores evaluated schemas along with their annotations in a list of objects rather than as a mapping from the schemas to their annotations. This makes the API easier to use and better aligns with the current public APIs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.