Skip to content

Commit

Permalink
fix(Example): disable strictStateSerializabilityChecks
Browse files Browse the repository at this point in the history
The router state is currently unserializable
  • Loading branch information
timdeschryver committed Mar 9, 2019
1 parent f4b02ae commit 0f52c54
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion projects/example-app/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ import { AppRoutingModule } from '@example-app/app-routing.module';
* meta-reducer. This returns all providers for an @ngrx/store
* based application.
*/
StoreModule.forRoot(reducers, { metaReducers }),
StoreModule.forRoot(reducers, {
metaReducers,
runtimeChecks: {
strictStateSerializabilityChecks: false,
},
}),

/**
* @ngrx/router-store keeps router state up-to-date in the store.
Expand Down

0 comments on commit 0f52c54

Please sign in to comment.