Skip to content
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

Merged
merged 3 commits into from
Aug 13, 2020
Merged

Null attach snapshots #3108

merged 3 commits into from
Aug 13, 2020

Conversation

arinwt
Copy link
Contributor

@arinwt arinwt commented Aug 8, 2020

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.

@arinwt arinwt requested a review from vladsud August 8, 2020 01:18
@arinwt
Copy link
Contributor Author

arinwt commented Aug 8, 2020

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
Copy link
Contributor

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?

Copy link
Contributor Author

@arinwt arinwt Aug 13, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants