Skip to content

fix runStores/bindStore losing context without reference to channel#18

Merged
tlhunter merged 1 commit intomainfrom
rochdev/fix-bind-store-without-reference
May 27, 2025
Merged

fix runStores/bindStore losing context without reference to channel#18
tlhunter merged 1 commit intomainfrom
rochdev/fix-bind-store-without-reference

Conversation

@rochdev
Copy link
Member

@rochdev rochdev commented May 27, 2025

The underlying channel wasn't being added to the set, so every call to channel('name') would get a new stores map, resulting in losing the context entirely. The existing tests were not failing because they were only calling channel('name') once for both the runStores and bindStore calls, which is not usually the case in real usage.

Since the test files were copied directly from Node, I copied the test to a new file and updated it there instead of updating it in place.

@tlhunter tlhunter merged commit f7e273f into main May 27, 2025
42 checks passed
@tlhunter tlhunter deleted the rochdev/fix-bind-store-without-reference branch May 27, 2025 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants