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

fix: Make API messages names be the same as their event #89

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

jefft0
Copy link
Contributor

@jefft0 jefft0 commented Jun 27, 2023

This resolves #79. See the issue for rationale. Change all message names to be the same as the event that sends it. Update the name of related functions that process the event message.

This is a BREAKING CHANGE to the API. Other packages like Berty will need to update the message names.

@jefft0 jefft0 requested a review from D4ryl00 June 27, 2023 10:45
@n0izn0iz
Copy link
Contributor

LGTM :)

@jefft0 jefft0 force-pushed the fix/API-events-same-name-as-message branch from 9c24564 to b23ac5c Compare June 27, 2023 10:58
Copy link
Collaborator

@D4ryl00 D4ryl00 left a comment

Choose a reason for hiding this comment

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

LGTM

pkg/testutil/filters.go Outdated Show resolved Hide resolved
…ent. Fixes berty#79.

Signed-off-by: Jeff Thompson <jeff@thefirst.org>
@jefft0 jefft0 force-pushed the fix/API-events-same-name-as-message branch from b23ac5c to 41e4e1d Compare June 27, 2023 11:10
@jefft0 jefft0 merged commit c219763 into berty:main Jun 27, 2023
13 checks passed
@jefft0 jefft0 deleted the fix/API-events-same-name-as-message branch June 27, 2023 11:37
@github-actions
Copy link

🎉 This PR is included in version 1.12.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EventType names do not match actual events messages names
3 participants