Skip to content

[BACK-2638] Move Summary buckets to collection and unify datastructure #763

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

Merged
merged 46 commits into from
May 12, 2025

Conversation

Roukoswarf
Copy link
Contributor

No description provided.

@Roukoswarf Roukoswarf force-pushed the alex/back-2638-buckets-collection branch from 73cb386 to e2d477d Compare January 13, 2025 22:51
@Roukoswarf Roukoswarf changed the base branch from master to alex/version-updates January 13, 2025 22:52
Copy link
Contributor

@toddkazakov toddkazakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left feedback inline - overall looks good, but there are few issues


type GlucosePeriods map[string]*GlucosePeriod

type Range struct {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove omitempty to avoid bugs


type GlucoseBucket struct {
GlucoseRanges `json:",inline" bson:",inline"`
LastRecordDuration int `json:"lastRecordDuration,omitempty" bson:"lastRecordDuration,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove omitempty to avoid bugs

return true, nil
}

type GlucosePeriod struct {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove omitempty to avoid bugs

@Roukoswarf Roukoswarf merged commit 038e6ac into alex/version-updates May 12, 2025
1 check passed
Roukoswarf added a commit that referenced this pull request May 13, 2025
* update mongo, golang, deps, go

* [BACK-2638] Move Summary buckets to collection and unify datastructure (#763)

---------

Co-authored-by: Todd Kazakov <[email protected]>
@Roukoswarf Roukoswarf deleted the alex/back-2638-buckets-collection branch May 13, 2025 17:06
@Roukoswarf Roukoswarf restored the alex/back-2638-buckets-collection branch May 14, 2025 03:10
@Roukoswarf Roukoswarf deleted the alex/back-2638-buckets-collection branch May 14, 2025 19:20
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.

3 participants