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

refactor: remove redundant feature factory #261

Merged
merged 4 commits into from
Sep 2, 2020

Conversation

mantariksh
Copy link
Contributor

Problem

We had two duplicate factories in the frontend, feature.client.factory.js and features.client.factory.js. Moreover, the factory makes a network request for which errors are not caught.

Solution

Remove redundant factory and catch errors.

Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, how did it slip us by :(

@mantariksh mantariksh merged commit 3858eb4 into develop Sep 2, 2020
@liangyuanruo liangyuanruo deleted the remove-redundant-factory branch September 2, 2020 10:01
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.

3 participants