-
Notifications
You must be signed in to change notification settings - Fork 14
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
implemented signals for import-feature-flag #2086
base: dev
Are you sure you want to change the base?
Conversation
@RidhamShah, I am not sure if I understood this PR. The goal was to move the component-specific state and dataService calls to the component store. There are two requests: validation and import. Both of these calls are not updating the main store as after the import, we are calling |
frontend/projects/upgrade/src/app/core/feature-flags/store/feature-flag.signal.store.ts
Outdated
Show resolved
Hide resolved
frontend/projects/upgrade/src/app/core/feature-flags/store/feature-flag.signal.store.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small changes before I can approve this
Used signals with componentStore to call import-feature-flag-api instead of directly calling API and using local store.
Doc - https://ngrx.io/guide/component-store
(Just FYI, componentStore and SignalStore are 2 different things)