Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

middleware api now includes all subspace values so root enhancer can be applied in middleware #75

Merged
merged 1 commit into from
Jan 30, 2018

Conversation

jpeyper
Copy link
Collaborator

@jpeyper jpeyper commented Jan 30, 2018

subspaceOptions (which has the root enhancer) was not being passed through to the middleware API. Any subspaces created in middleware were not correctly applying the middleware chain.

I felt it's safer to to exclude the parts of the subspacedStore we don't want, to avoid issues like this in the future (we have to be careful to remember to update the typescript definitions).

@mpeyper
Copy link
Contributor

mpeyper commented Jan 30, 2018

This has been causing some absolute doozey bugs... Glad we found it!

@mpeyper mpeyper merged commit 1465bef into ioof-holdings:master Jan 30, 2018
@jpeyper jpeyper deleted the middleware-api-fix branch January 30, 2018 09:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants