-
Notifications
You must be signed in to change notification settings - Fork 531
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 api #22994
Remove _createDataStoreWithProps api #22994
Conversation
.changeset/gold-maps-cut.md
Outdated
@@ -0,0 +1,100 @@ | |||
--- | |||
"@fluidframework/agent-scheduler": 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.
while technically true, i'd trim this remove example, tests, experimental, private, and cases where the change really shouldn't be impactful
🔗 Found some broken links! 💔 Run a link check locally to find them. See linkcheck output
|
Closing due to branch rename to 2.20 #22996 |
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.