Skip to content

(MAINT) Refactor routerMap to not be a global#79

Open
justinstoller wants to merge 1 commit intomainfrom
local-routerMap
Open

(MAINT) Refactor routerMap to not be a global#79
justinstoller wants to merge 1 commit intomainfrom
local-routerMap

Conversation

@justinstoller
Copy link
Member

For reasons of expediency a consumer requires creating two services within a process. Using a global variable prevents that from happening. This converts a global variable to a local one which a comment in the file alludes to being a valuable change regardless.

@justinstoller justinstoller requested a review from a team as a code owner February 3, 2026 01:41
For reasons of expediency a consumer requires creating two services
within a process. Using a global variable prevents that from happening.
This converts a global variable to a local one which a comment in the
file alludes to being a valuable change regardless.
@justinstoller
Copy link
Member Author

@eoinmcq Does this seem like a decent change to you, regardless of the rationale for it?

@justinstoller
Copy link
Member Author

There's no hurry on this at the moment as we went with a different approach with the downstream project. However, it seems like a valuable refactor so I will leave it open and we can circle back to it.

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