Skip to content
This repository has been archived by the owner on Jan 10, 2018. It is now read-only.

StoreDevtoolsModule.instrumentStore not compatible with AOT #316

Closed
born2net opened this issue Jan 15, 2017 · 6 comments
Closed

StoreDevtoolsModule.instrumentStore not compatible with AOT #316

born2net opened this issue Jan 15, 2017 · 6 comments

Comments

@born2net
Copy link

born2net commented Jan 15, 2017

StoreDevtoolsModule.instrumentOnlyWithExtension() works with AOT.
StoreDevtoolsModule.instrumentStore not compatible with AOT
getting an error of:

ERROR in Error encountered resolving symbol values statically. Calling function 'StoreDevtoolsModule', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in C:/msweb/studiotouch/src/app/app.module.ts, resolving symbol AppModule in C:/msweb/studiotouch/src/app/app.module.ts

And we rely on instrumentStore as we need to provide maxAge, otherwise our dev tools will not work (large data set)

can we please fix it so it works just like instrumentOnlyWithExtension

angular-cli: 1.0.0-beta.25.5
node: 6.5.0
os: win32 x64
@angular/common: 2.4.3
@angular/compiler: 2.4.3
@angular/core: 2.4.3
@angular/forms: 2.4.3
@angular/http: 2.4.3
@angular/platform-browser: 2.4.3
@angular/platform-browser-dynamic: 2.4.3
@angular/router: 3.2.1
@angular/compiler-cli: 2.4.3
@angular/language-service: 2.4.3


thanks as always,

Sean
@ringodotnl
Copy link

Here StoreDevtoolsModule.instrumentOnlyWithExtension() stopped working recently.

@born2net
Copy link
Author

instrumentOnlyWithExtension works but we have to use instrumentStore becuase of maxAge, otherwise everything slows down to a halt

@juanlizarazo
Copy link

Definitively an issue. Probably tracking should continue at ngrx/store-devtools#48

@born2net
Copy link
Author

born2net commented Jan 16, 2017

hope we can get a fix quickly... tx!

@born2net
Copy link
Author

I am ready to test anytime... regards!

@juanlizarazo
Copy link

ok, a solution to use this method with AOT was provided on the ngrx/store-devtools#48 thread by @brandonroberts

@born2net could you please close this issue as well?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants