-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split public and internal IFluidHandle APIs (#20123)
## Description Split IFluidHandle into two interfaces, IFluidHandle and IFluidHandleInternal. ## Breaking Changes Deprecated members of IFluidHandle are split off into new IFluidHandleInternal interface. See included changeset for more details.
- Loading branch information
1 parent
0a7921d
commit ed0bbe4
Showing
106 changed files
with
904 additions
and
464 deletions.
There are no files selected for viewing
This file contains 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,25 @@ | ||
--- | ||
"@fluidframework/core-interfaces": minor | ||
"fluid-framework": minor | ||
"@fluidframework/map": minor | ||
"@fluidframework/matrix": minor | ||
"@fluidframework/ordered-collection": minor | ||
"@fluidframework/register-collection": minor | ||
"@fluidframework/runtime-definitions": minor | ||
"@fluidframework/runtime-utils": minor | ||
"@fluidframework/sequence": minor | ||
"@fluid-experimental/sequence-deprecated": minor | ||
"@fluidframework/shared-object-base": minor | ||
"@fluidframework/synthesize": minor | ||
"@fluid-experimental/tree": minor | ||
"@fluidframework/tree": minor | ||
--- | ||
|
||
Deprecated members of IFluidHandle are split off into new IFluidHandleInternal interface | ||
|
||
Split IFluidHandle into two interfaces, `IFluidHandle` and `IFluidHandleInternal`. | ||
Code depending on the previously deprecated members of IFluidHandle can access them by using `toFluidHandleInternal` from `@fluidframework/runtime-utils/legacy`. | ||
|
||
External implementation of the `IFluidHandle` interface are not supported: this change makes the typing better convey this using the `ErasedType` pattern. | ||
Any existing and previously working, and now broken, external implementations of `IFluidHandle` should still work at runtime, but will need some unsafe type casts to compile. | ||
Such handle implementation may break in the future and thus should be replaced with use of handles produced by the Fluid Framework client packages. |
This file contains 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 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 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 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 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 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 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 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.