-
Notifications
You must be signed in to change notification settings - Fork 1
TE-4189: Fixed EventTransfer with additional params #77
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
base: master
Are you sure you want to change the base?
Conversation
src/Spryker/Zed/EventBehavior/Business/Model/EventResourceQueryContainerPluginIterator.php
Show resolved
Hide resolved
src/Spryker/Zed/EventBehavior/Business/Model/EventResourceQueryContainerManager.php
Outdated
Show resolved
Hide resolved
src/Spryker/Zed/EventBehavior/Business/Model/EventResourceQueryContainerManager.php
Show resolved
Hide resolved
| * | ||
| * @return array<\Spryker\Shared\Kernel\Transfer\AbstractTransfer> | ||
| */ | ||
| public function getData(int $offset, int $limit): array; |
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.
here needs to adjust new interface. will be better to have the transfer here @ehsanmx
| * @param array<int> $ids | ||
| * | ||
| * @return \Iterator<array<\Generated\Shared\Transfer\EventEntityTransfer>> | ||
| * @return \Iterator<array<\Spryker\Shared\Kernel\Transfer\AbstractEntityTransfer>> |
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.
Is this true? isnt the actual object still the concrete one?
|
|
||
| /** | ||
| * @param \Spryker\Zed\EventBehavior\Dependency\Plugin\EventResourcePluginInterface $plugin | ||
| * @param array<\Spryker\Shared\Kernel\Transfer\AbstractTransfer> $transfers |
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.
Those are never "Just" the abstract one - at least those are usually invalid to be used for methods that do not exist
Are you only using methods from the abstract one here?
|
@vol4onok is this one still relevant? |
|
I don't remember. Needs to re-check. I think it's relevant. But the code is partially outdated @stereomon |
Developer(s): @vol4onok
Ticket: https://spryker.atlassian.net/browse/TE-4189
Release Group: https://release.spryker.com/release-groups/view/4054
PR Overview: https://release.spryker.com/release/pull-request-core/EventBehavior/77
merge: squash
Release Table
Module EventBehavior
Change log
Improvements
EventResourceQueryContainerManagerso it's collect all required data toEventEntityTransferinstead of id.EventResourceQueryContainerPluginIteratorso iterator can use ids for build query.