-
Notifications
You must be signed in to change notification settings - Fork 0
Switch to changes instead of snapshots #2
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
| return other; | ||
| } | ||
|
|
||
| DiffNode operator +(DiffNode other) { |
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 don't see any guidance around operator overloading in the effective dart doc, but I tend to avoid it for non-numeric types.
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 love operator overloading for building DSLs ;) I will have to think about this..
Can you describe a bit more how this works / how you're using the diffs? |
|
I added some more code to showcase how the diffs could be used to compute time series of any property. Tested that it is non-breaking through mosuem/dart_pr_dashboard#29 |
|
No concerns w/ landing this if you want to iterate, but from an off-line discussion:
|
Rather large PR, switching from storing snapshots of all issues to storing their diffs. This enables gathering of statistics.
It is a non-breaking change, as it just adds a new item to the firebase storage.