-
Notifications
You must be signed in to change notification settings - Fork 535
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
Remove _createDataStoreWithProps #22996
Remove _createDataStoreWithProps #22996
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving for docs; had some rewording and clarification that would be good to add.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⯆ @fluid-example/bundle-size-tests: -511 Bytes
Baseline commit: 62836c0 |
Co-authored-by: Tyler Butler <[email protected]>
Co-authored-by: Tyler Butler <[email protected]>
"@fluidframework/container-runtime-definitions": minor | ||
"@fluidframework/datastore": minor | ||
"@fluidframework/runtime-definitions": minor | ||
"@fluidframework/test-runtime-utils": minor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexvy86 I guess we should only add package from the API is removed and not all packages which are in the PR?
cc: @tylerbutler
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output
|
AB#856
#22993
Description
Removes APIs that have been deprecated. We have tried to move away from
_createDataStoreWithProps
as this causes collisions when creating live datastores. Solutions involved aliasing. The original issue with the removal was that there was no way to put in props. Added theinitialState
parameter toPureDataObjectFactory.createInstanceWithDataStore
as pass in props.Remove APIs
IContainerRuntimeBase._createDataStoreWithProps
ContainerRuntime._createDataStoreWithProps
Alternatives
PureDataObjectFactory.createInstanceWithDataStore
allows props to be passed in via theinitialState
parameter.Merge Notes
main
is ready for 2.20 changes.