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

Make Init event optional in DSL modules #166

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

xosmig
Copy link
Contributor

@xosmig xosmig commented Aug 2, 2022

Most modules don't need to do anything on Init and the philosophy
of DSL modules is to avoid mixing protocol logic with boilerplate.
Hence, it makes sense to avoid writing an empty handler for init
for each DSL module and just make processing this event optional.

Most modules don't need to do anything on Init and the philosophy
of DSL modules is to avoid mixing protocol logic with boilerplate.
Hence, it makes sense to avoid writing an empty handler for init
for each DSL module and just make processing this event optional.
@xosmig
Copy link
Contributor Author

xosmig commented Aug 2, 2022

Will merge without a review.

@xosmig xosmig merged commit daf25e9 into consensus-shipyard:main Aug 2, 2022
@xosmig xosmig removed the request for review from matejpavlovic August 2, 2022 13:54
xosmig added a commit to xosmig/mir that referenced this pull request Aug 4, 2022
Handling the Init event is optional for dsl modules since consensus-shipyard#166.
xosmig added a commit to xosmig/mir that referenced this pull request Aug 4, 2022
Handling the Init event is optional for dsl modules since consensus-shipyard#166.
xosmig added a commit that referenced this pull request Aug 4, 2022
Handling the Init event is optional for dsl modules since #166.
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