-
Notifications
You must be signed in to change notification settings - Fork 536
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 ComponentContext.documentId, Container.id #2903
Comments
This issue has been automatically marked as stale because it has had no activity for 180 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework! |
Reactivating, as this topic popped up in recent discussions. |
@chensixx - any chance you can do an assessment here on how it's used and if it's possible to deprecate it?
|
documentId
from ComponentContext and ComponentRuntime
Moving to August with assumption that you (@chensixx) are not going to complete it this month. If it's not the case, please move it back :) |
After first attempt of removing document id, I found one instance that's blocking removal: In document.ts, used by flowContainer, used in SharedText. This is also related to issue #2915 so I will fix 2915 first |
@vladsud I have a PR that removes docId from IFluidDataStoreContext and IFluidDataStoreRuntime. is the next step removing docId from everywhere? Since you mentioned remove it from IContainer as well. |
@chensixx, any chance you can update this item with latest thinking / breakdown / ETA? |
Marking as an Epic. This work is staged into many steps and will be long-running. |
the only 2 steps left should be 1. removing container.id and usages, 2. removing containerContext.id after 0.55 is released, then it will be done. |
@chensixx Heads up - When you merge that PR this issue will close, but from your last comment it sounds like this issue should live on until the final removal is done. |
documentId
is a Container level concept and should not be exposed via ComponentContext and ComponentRuntime.Especially with detachedContainers, Components do not know (or should care) when the Container is attached and the documentId is not available before the Container is attached.
The text was updated successfully, but these errors were encountered: