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

[WIP] Expose Workflow value to apply (breaking) #262

Closed
wants to merge 4 commits into from

Conversation

square-tomb
Copy link
Contributor

This is an alternative implementation of #259 that includes breaking changes, which would require a major version bump and for all declarations of types conforming to WorkflowAction to be updated.

Replace

```
func apply\(toState ([a-zA-Z0-9_]+): inout ([a-zA-Z0-9_\.<>, ]+|\(\))\) -> ([a-zA-Z0-9_\.<>, ]+)\?
```

with

```
func apply(toState $1: inout $2, workflow: WorkflowType) -> $3?
```
@square-tomb square-tomb changed the title [WIP] Expose Workflow value to apply (breaking) [WIP] Expose Workflow value to apply (breaking) Jan 2, 2024
@square-tomb square-tomb closed this Aug 3, 2024
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.

1 participant