Pipeline not running #778
Unanswered
vikasguptadev
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Give it a try |
Beta Was this translation helpful? Give feedback.
1 reply
-
Just wrote a test myself and this is working: it('bma', function (){
$d = new class extends Data {
public string $name;
public static function pipeline(): DataPipeline
{
return parent::pipeline()->through(new class implements DataPipe
{
public function handle(mixed $payload, DataClass $class, array $properties, CreationContext $creationContext): array
{
dd('aaa');
}
});
}
};
$d::from(['name' => 'Ruben']);
}); Doesn't look like an issue with the package to me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have created a DTO:
I have added my custom pipeline in the DTO
AbcPipe:
But the issue, it is not reaching up to the AbcPipe pipeline. Even static::pipeline() is not being called.
Here is how I am creating the DTO object:
where
$filters
and$paging
are array.Beta Was this translation helpful? Give feedback.
All reactions