-
Notifications
You must be signed in to change notification settings - Fork 12
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
Реализация модели предметной области #147
Conversation
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.
У меня есть вопросы по обязательности заполнения некоторых полей и как следствие их nullability
/// <param name="StartTime">Session starts at this time (with offset from UTC)</param> | ||
/// <param name="EndTime">Session ends at this time (with offset from UTC)</param> | ||
public record MeetupSession(Talk Talk, | ||
DateTimeOffset StartTime, |
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.
Тут я позволил себе использовать DateTimeOffset
, чтобы хоть как-то попытаться решить проблему часовых поясов. Ну и предположил, что все поля будут обязательны
Привел нулябельность полей в соответствие со схемами |
public record Meetup(string Id, | ||
string Name, | ||
Community Community, | ||
IReadOnlyList<Friend> Friends, |
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.
Я предполагаю, что пустой список в этом случае будет достаточно идиоматичен.
Черт, я опять проиграл в неравной схватке с git. @ilabutin ты вроде "сквашишь" коммиты, это не должно стать большой проблемой? |
По задаче #130
Модели и логику связей утянул из Auditor