-
Beta Was this translation helpful? Give feedback.
Answered by
edalzell
Dec 17, 2022
Replies: 1 comment
-
This seems to work: public static function prepareForPipeline(Collection $properties): Collection
{
if (! $properties->get('id')) {
$properties->put('id', Uuid::uuid4()->toString());
}
return $properties;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
edalzell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This seems to work: