-
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
Null attach snapshots #3108
Null attach snapshots #3108
Conversation
The snapshot tests were still not failing, so I created an issue to track: #3107 |
@@ -697,6 +707,7 @@ export class LocalFluidDataStoreContext extends FluidDataStoreContext { | |||
BindState.NotBound, | |||
bindChannel, | |||
pkg); | |||
this.pkg = pkg; // TODO: avoid setting twice |
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.
curious, why is this required?
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.
It allows me to make the pkg
property overload in LocalFluidDataStoreContext readonly defined (not undefined). There's probably a cleaner way to do it with a bigger refactor, but I just wanted something quick.
Added
InboundAttachMessage
type to handle null snapshots.Use empty tree with only ".component" attributes blob when attach snapshot is missing.
Also fixes the snapshot tests so they can be ran from Debug Current Test vscode launch task. This is confined to the first commit.