Skip to content
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

Merged
merged 10 commits into from
Sep 7, 2021

Conversation

zetroot
Copy link
Collaborator

@zetroot zetroot commented Aug 20, 2021

По задаче #130
Модели и логику связей утянул из Auditor

Copy link
Collaborator Author

@zetroot zetroot left a 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,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Тут я позволил себе использовать DateTimeOffset, чтобы хоть как-то попытаться решить проблему часовых поясов. Ну и предположил, что все поля будут обязательны

@zetroot
Copy link
Collaborator Author

zetroot commented Aug 20, 2021

Привел нулябельность полей в соответствие со схемами

public record Meetup(string Id,
string Name,
Community Community,
IReadOnlyList<Friend> Friends,
Copy link
Collaborator

Choose a reason for hiding this comment

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

А можем мы хотя бы теоретически проводить митап без спонсоров? Или в этом случае просто пустой список будет?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Я предполагаю, что пустой список в этом случае будет достаточно идиоматичен.

@zetroot
Copy link
Collaborator Author

zetroot commented Sep 4, 2021

Черт, я опять проиграл в неравной схватке с git. @ilabutin ты вроде "сквашишь" коммиты, это не должно стать большой проблемой?

@ilabutin ilabutin merged commit fd6377c into DotNetRu:master Sep 7, 2021
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