Replies: 2 comments 5 replies
-
I don't think all the changes are completed. @asanovr any idea what other changes are needed? |
Beta Was this translation helpful? Give feedback.
5 replies
-
@joni1993 I use string ids like this <?php
namespace App\Modules\Workflow\Models;
use Illuminate\Database\Eloquent\Concerns\HasUlids;
use Workflow\Models\StoredWorkflow as StoredWorkflowBase;
class StoredWorkflow extends StoredWorkflowBase
{
use HasUlids;
}
|
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
-
Hi,
like three days ago i wanted to use strings for ids - i just found out thats possible with yesterdays release. 😃
But i am unsure how to implement it properly:
WorkflowStub
wantsStoredWorkflow
fromWorkflow
namespace - if i create my ownStoredWorkflow
model in App\Models thefromStoredWorkflow
call inWorkflowStub
fails.I create the workflow manually like this:
If I don't create the Workflow manually like this
WorkflowStub::make
obviously fails because it usescreate()
which fails without auto-incrementing integer key.May StoredWorkflow is the same as the supplied one but with these properties added:
Any help is appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions