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 durable statestore example #102

Merged
merged 5 commits into from
Dec 17, 2024

Conversation

sdil
Copy link
Collaborator

@sdil sdil commented Dec 17, 2024

Summary

I'm adding an example for Durable State Actor which based on the existing example. The users should be able to compare between Durable State Actor and Event Sourced Actor easily by looking at the diff between example/eventsource/main.go and example/statestore/main.go files.

Durable Actor rocks!

@sdil sdil requested a review from Tochemey December 17, 2024 04:32
@Tochemey
Copy link
Owner

Tochemey commented Dec 17, 2024

@sdil kindly use conventional commit message format as the PR title. You can find some examples here https://www.conventionalcommits.org/en/v1.0.0/#examples. Thanks

@sdil sdil changed the title Add durable statestore example FEAT: Add durable statestore example Dec 17, 2024
@sdil sdil changed the title FEAT: Add durable statestore example feat: Add durable statestore example Dec 17, 2024
@Tochemey Tochemey changed the title feat: Add durable statestore example feat: add durable statestore example Dec 17, 2024
Copy link
Owner

@Tochemey Tochemey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kindly rename the eventsource package to eventssourced and the statestore to durablestate

default:
return nil, errors.New("unhandled event")
}
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly remove this EOF character by inserting a space

@Tochemey Tochemey merged commit f87836e into Tochemey:main Dec 17, 2024
1 check failed
@sdil sdil deleted the add-statestore-example branch December 17, 2024 10:12
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