SoCreate/angular-playground

Dynamically changed data in Mocked injected services (like ngRx Store)

gauravupadhyaya opened this issue · 0 comments

Versions

7.0.0
Angular CLI: 9.0.5
Node: 10.15.0
OS: linux x64

Angular: 9.0.6
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.5
@angular-devkit/build-angular     0.900.5
@angular-devkit/build-optimizer   0.900.5
@angular-devkit/build-webpack     0.900.5
@angular-devkit/core              9.0.2
@angular-devkit/schematics        9.0.2
@angular/cdk                      9.0.1
@angular/cli                      9.0.5
@angular/material                 9.1.2
@ngtools/webpack                  9.0.5
@schematics/angular               9.0.2
@schematics/update                0.900.5
rxjs                              6.5.4
typescript                        3.7.5
webpack                           4.41.2
    

Repro steps

  • Step 1
    Inject ngRx Store
  • Step 2
    use store$.dispatch() and use store$.select()
  • Step 3
    Try to create diffrent scenerio with multiple possibilities of returned data of store$.select()

Observed Behavior

It seems impossible with playground to change data dynaically in mocked services based of scenerios.

Desired Behavior

I want to change data inside mocked services dynamically based of Sandbox scenerios.

Any other details that may be useful (optional)