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

Merged
merged 9 commits into from
Feb 4, 2025
Merged

Expose Workflow Init Method #556

merged 9 commits into from
Feb 4, 2025

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 Feb 4, 2025 0:27am

@roxblnfk roxblnfk marked this pull request as ready for review February 4, 2025 12:32
@roxblnfk roxblnfk merged commit 3e12fef into master Feb 4, 2025
110 of 114 checks passed
@roxblnfk roxblnfk deleted the init-method branch February 4, 2025 14:26
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
2 participants