-
Notifications
You must be signed in to change notification settings - Fork 6
Переверстал страницу настроек, добавил выбор страницы при запуске #394
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
Conversation
| builder: (p0) => const CommentsPage(), | ||
| isDisabled: false, | ||
| userTypes: [StudentData, EmployeeData], | ||
| userTypes: [StudentData, EmployeeData, UserData], |
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.
мб просто тогда оставить UserData? Или ты пока оставил StudentData и EmployeeData с надеждой, что в какой-то момент мы начнём обрабатывать все типы пользователей =)
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.
У нас нет рефлексии и там идёт сравнение через ==
Я не уверен на 100%, но мне кажется, при таком сравнении будет StudentData != UserData и ни у кого роут не отобразится
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.
да, всё как я описал
resolves #391