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

fix(store): trim down StateClass interface and move it to internals subpackage #1070

Merged
merged 2 commits into from
May 18, 2019

Conversation

markwhitfeld
Copy link
Member

Reverts #1042
This PR should never have been merged.
It exposes too much of the internal NGXS implementation details.
Hopefully the new extensibility model allows for the hooks that this was intended to expose.

@markwhitfeld
Copy link
Member Author

ok, I have opted to expose a slimmed down interface called StateClass from @ngxs/store/internals.
There is another fuller interface for internal use called StateClassInternal.

@markwhitfeld markwhitfeld changed the title Revert "feat(store): expose StateClass for @ngxs/store/testing" fix(store): trim down StateClass interface and move it to internals subpackage May 18, 2019
@markwhitfeld markwhitfeld requested a review from splincode May 18, 2019 20:44
@splincode splincode merged commit 22f851b into master May 18, 2019
@splincode splincode deleted the revert-1042-fix/testing branch June 30, 2019 11:53
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