Skip to content

Improve ergonomics of messaging topics, patterns, and endpoints #2658

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

Merged
merged 4 commits into from
May 22, 2025

Conversation

twitu
Copy link
Collaborator

@twitu twitu commented May 21, 2025

Pull Request

Use phantom types for Topic pattern for a more ergonomic and concise api. It also draws from design principle that both types have the same physical representation but have different validation properties. Also merged endpoints and topics since they are physically and functionally the same.

Related Issues/PRs

#2646

Type of change

  • Refactor

@cjdsellers cjdsellers changed the title Concise and ergonomic topic pattern usage Improve ergonomics of messaging topics, patterns, and endpoints May 22, 2025
@cjdsellers
Copy link
Member

Great stuff, thanks @twitu

@cjdsellers cjdsellers merged commit ede614e into develop May 22, 2025
17 checks passed
@cjdsellers cjdsellers deleted the refactor-msgbus branch May 22, 2025 03:05
stastnypremysl pushed a commit to stastnypremysl/nautilus_trader that referenced this pull request May 30, 2025
…echsystems#2658)

Use phantom types for more concise and ergonomic topic pattern API.
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