-
Notifications
You must be signed in to change notification settings - Fork 7
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
LOOP-873 Upload Loop glucose and carbohydrate data to Tidepool backend #7
LOOP-873 Upload Loop glucose and carbohydrate data to Tidepool backend #7
Conversation
darinkrauss
commented
Apr 23, 2020
- https://tidepool.atlassian.net/browse/LOOP-873
- Upload carbohydrate and glucose data to Tidepool backend
- Delete carbohydrate data from Tidepool backend
- Add DeletedCarbEntry extension to generate TSelector
- Add StoredCarbEntry extension to generate TDatum
- Add StoredGlucose extension to generate TDatum
- Add default origin for main bundle
- https://tidepool.atlassian.net/browse/LOOP-873 - Upload carbohydrate and glucose data to Tidepool backend - Delete carbohydrate data from Tidepool backend - Add DeletedCarbEntry extension to generate TSelector - Add StoredCarbEntry extension to generate TDatum - Add StoredGlucose extension to generate TDatum - Add default origin for main bundle
See https://github.com/tidepool-org/LoopWorkspace/pull/72 for LoopWorkspace build confirmation. |
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.
LGTM
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.
Minor suggestion, but other than that LGTM 🧀
|
||
extension TDatum: CustomDebugStringConvertible { | ||
public var debugDescription: String { | ||
let encoder = JSONEncoder() |
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.
[nit] Super-minor nit, but way back in my memory I seem to remember that creating JSONEncoder
s can be a bit expensive. Possibly consider making it a fileprivate
global reusable constant here? (Or, if you know of other places it may be reused, put it in a better, reusable place, if you want). Again, not a blocker.
Updated translations from Lokalise on Sat Mar 18 15:11:44 CDT 2023