-
Notifications
You must be signed in to change notification settings - Fork 0
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
💥 change YearWithSemesterDuration.Until type to optional #687
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #687 +/- ##
==========================================
+ Coverage 33.19% 33.39% +0.19%
==========================================
Files 54 54
Lines 4329 4345 +16
==========================================
+ Hits 1437 1451 +14
- Misses 2863 2864 +1
- Partials 29 30 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
ぱっと見気になったとこ
UntilYear: duration.Until.Year, | ||
UntilSemester: duration.Until.Semester, | ||
UntilYear: duration.Until.ValueOrZero().Year, | ||
UntilSemester: duration.Until.ValueOrZero().Semester, |
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.
ここだけみるとめちゃくちゃ不味そうに見える
projectmemberが0年0期まで存在したってなんだ???と
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.
正直コンパイルエラー消してテスト通すために適当に対処したところはある🙇
一応これの逆操作はuntilがvalid=falseになるので再度modelから取り出してdomainに詰めた時は無期限として扱われる
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.
なんかいい方法ないかな
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.
パッと思いつかんので、とりあえずissueかなあ
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.
mustAddなんとかみたいな関数は今出してるテスト改正PRの派生で消えるのでその時に何とかします
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
No description provided.