Skip to content
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

Expose Workflow Init Method #556

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Expose Workflow Init Method #556

wants to merge 6 commits into from

Conversation

roxblnfk
Copy link
Collaborator

@roxblnfk roxblnfk commented Jan 20, 2025

What was changed

  • Added #[InitMethod] attribute

If a Workflow has a constructor with the #[InitMethod] attribute, it will be called during the initialization of the Workflow instance with the same arguments as the Workflow Method.

Checklist

  1. Closes Workflow-init support #480
  2. How was this tested:
    • added tests

@roxblnfk roxblnfk added the Feature New feature or request label Jan 20, 2025
Copy link

vercel bot commented Jan 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
php ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 20, 2025 4:52pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workflow-init support
1 participant