-
Notifications
You must be signed in to change notification settings - Fork 6
Feature/mbx 2934 #421
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
Feature/mbx 2934 #421
Conversation
| import org.threeten.bp.Instant | ||
|
|
||
| /** | ||
| * An interface for internal sdk work only. Do not implement or use it |
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.
An interface for internal sdk work only. Do not implement or use it.
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.
точка в конце
| /** | ||
| * A class for internal sdk work only. Do not implement it | ||
| * */ | ||
| data class PushAction( |
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.
потому что цепочка зависимостей ведет к интерфейсу MindboxImageFailureHandler, который должен быть публичным
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.
А нет Do not implement it. Data класс все равно нельзя наследовать. Путь имплементируют, если захотят свою реализацию пушей
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.
Пусть наши используют. Так мы гарантируем, что они будут парсить наши пуши правильно, так же как мы
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.
поправил комменты
https://github.com/mindbox-cloud/issues-web-mobile/issues/2934