-
Notifications
You must be signed in to change notification settings - Fork 930
Tree-Shake Repo #4489
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
Tree-Shake Repo #4489
Conversation
|
Binary Size ReportAffected SDKs
Test Logs |
Size Analysis Report |
packages/database/src/core/Repo.ts
Outdated
|
||
get database(): Database { | ||
return this.__database || (this.__database = new Database(this)); | ||
repoSendReadyTransactions(repo, this.transactionQueueTree_); |
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.
repoSendReadyTransactions(repo, this.transactionQueueTree_); | |
repoSendReadyTransactions(repo, repo.transactionQueueTree_); |
packages/database/src/core/Repo.ts
Outdated
repo.transactionQueueTree_.subTree(path) | ||
); | ||
// There may be pending transactions that we can now send. | ||
repoSendReadyTransactions(repo, this.transactionQueueTree_); |
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.
repoSendReadyTransactions(repo, this.transactionQueueTree_); | |
repoSendReadyTransactions(repo, repo.transactionQueueTree_); |
Co-authored-by: Feiyang <[email protected]>
Co-authored-by: Feiyang <[email protected]>
Co-authored-by: Feiyang <[email protected]>
Co-authored-by: Feiyang <[email protected]>
Co-authored-by: Feiyang <[email protected]>
Co-authored-by: Feiyang <[email protected]>
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.
I applied your fixes, and fixed a bunch more instances of the same problem.
FYI: The tests should pass now. I am not able to run them locally right now ('app-exp' is not assignable ...). I will look into this next week. I think it only affects my setup.
No description provided.