-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix: add $forChildren parameter to IPartialMountProvider #57286
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
Conversation
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
|
Would it make sense to have Otherwise, if a folder and it's child-mounts have the same mount provider, we would be calling the provider twice. Though it might be more work for the provider to deal with the "both" case instead of only for the children. |
The current flow of Regarding the issue of calling the provider multiple times, I am trying to take extra care so that if it happens, we don't end up setting up the same mounts more than once. If the setup is called for a folder with |
Fair enough, we can always tweak things in the future. |
Summary
Adds a $forChildren parameter to
IPartialMountProviderso that providers have clear information about when they should load a single mount or all mounts in a path.TODO
Checklist
3. to review, feature component)stable32)