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

feat: add Workflows to ValidationErrorReporter #3481

Closed

Conversation

LuisDuarte1
Copy link
Collaborator

@LuisDuarte1 LuisDuarte1 commented Feb 6, 2025

Partially closes WOR-486

In order to have proper validation for Workflows I think we will need a similar setup as DOs: ValidationErrorReporter now has a addWorkflowClass that behaves similarily as addActorClass. (This will need a internal PR in order to work properly).

This will be useful in cases that a user exports a class but doesn't extend from WorkflowEntrypoint (meaning they won't get ctx and env and see weird errors).

@LuisDuarte1 LuisDuarte1 requested review from a team as code owners February 6, 2025 18:03
In order to have proper validation for Workflows I think we will need a
similar setup as DOs: ValidationErrorReporter now has a
`addWorkflowClass` that behaves similarily as `addActorClass`. (This
will need a internal PR in order to work properly).

This will be useful in cases that a user exports a class but doesn't
extend from `WorkflowEntrypoint` (meaning they won't get `ctx` and
`env` and see weird errors).
@LuisDuarte1 LuisDuarte1 force-pushed the lduarte/workflows-validator branch from 3a42142 to eda2f27 Compare February 6, 2025 18:26
@a-robinson
Copy link
Member

LGTM, but I'd assume this needs to wait for the corresponding internal change before merge.

@LuisDuarte1
Copy link
Collaborator Author

Closed in favor of #3509 (I need it to not be from a fork so that I can check out it in EW)

@LuisDuarte1 LuisDuarte1 deleted the lduarte/workflows-validator branch February 10, 2025 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants