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

topic forced to be string #147

Closed
artemk opened this issue Jul 7, 2020 · 1 comment
Closed

topic forced to be string #147

artemk opened this issue Jul 7, 2020 · 1 comment

Comments

@artemk
Copy link

artemk commented Jul 7, 2020

Hi guys.
Any reason you force topic to be string?

I have no problem using tuple instead of string, but dialyzer claims because it expect topic to be string.

phash2, which is used inside, accepting term as a first argument. So any reason to force it to be string in lib?

@chrismccord
Copy link
Member

Given different PubSub adapters and potential future features, such as wildcard broadcasts (not planned), it was locked down initially. A future pubsub release will likely open this up to support other terms, but not in the immediate future. Thanks!

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

No branches or pull requests

2 participants