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

Add a new method to ConfigStateService named getFeature #4812

Closed
mehmet-erim opened this issue Jul 20, 2020 · 0 comments · Fixed by #4813
Closed

Add a new method to ConfigStateService named getFeature #4812

mehmet-erim opened this issue Jul 20, 2020 · 0 comments · Fixed by #4813

Comments

@mehmet-erim
Copy link
Contributor

The new method will return a features property with a given key from the application-configuration API response.

It will be a simple method like this:

  getFeature(key: string) {
      return snq(() => state.features.values[key]);
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant