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

Get topic name from base class to propagate remaps #68

Open
wants to merge 1 commit into
base: rolling
Choose a base branch
from

Conversation

guilyx
Copy link

@guilyx guilyx commented Dec 6, 2021

When remapping a topic foo to bar, it appears that Subscriber::getTopic returns the name of the topic as initialized when instantiating the subscriber foo.
In the base class, get topic returns the remapped topic bar, which is in my opinion the correct behavior to go to.

If I were to retrieve the topic I'm subscribing to, I expect to retrieve the remapped name (aka the true name) rather than something that is not used.

gbiggs
gbiggs previously approved these changes Feb 19, 2022
@gbiggs gbiggs dismissed their stale review February 19, 2022 06:03

Mistaken click

@gbiggs
Copy link
Member

gbiggs commented Feb 19, 2022

@guilyx Could you please add a test that verifies the new behaviour?

@guilyx
Copy link
Author

guilyx commented Feb 25, 2022

@gbiggs Sure, will take a few days

@audrow audrow changed the base branch from master to rolling June 28, 2022 14:19
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