Skip to main content
-1 votes
1 answer
83 views

upsertMany not picking up multiple updates for same id record

I am using the NGRX upsertMany and sending multiple partial as an array but it looks like when there are multiple updates in the same array for the same record only first one is picked e.g. when the ...
Angad's user avatar
  • 1,122
0 votes
1 answer
33 views

Actions not triggering subsequent actions

Github link to my sample program. in file app.component.ts created a session expiry action which will be triggered once timeout happens timerExpiration : setTimeout(() => { this.store....
theRoot's user avatar
  • 569
0 votes
2 answers
607 views

how to pass custom value in ngrx

this is .ts file where addValue() got error as : Expected 0 arguments, but got 1 value: any name: string = '' constructor(private store: Store<{ counter: CounterState }>) { } ...
Lucky Gore's user avatar
0 votes
0 answers
178 views

Angular @ngrx/data custom data service how to inject another entity?

I add @ngrx/data in my application. My problem is I have to get data from other entities as well to add to the HTTP call. My code is like export class ReportsModule { entityMetaDataMap: ...
e.k's user avatar
  • 1,363
4 votes
1 answer
222 views

NGRX/data how to modify / update additionalCollectionState

I am facing one issue and unable to resolve: I am using ngrx data with following: const entityMetadata: EntityMetadataMap = { forReports: { entityDispatcherOptions: { ...
Parth Developer's user avatar
0 votes
1 answer
164 views

NGRX - How to subscribe to multiple requests that update a list, but prevent it from loading multiple times on the first load?

I'm working with Angular-NGRX and i have 3 components that can modify the data of a list. In the main component I listen for all the changes to update the listing and it works. The problem is that the ...
juanfranmozo's user avatar
0 votes
1 answer
281 views

ngrx data - collection service and data service, custom endpoint observable

I needed a custom PUT request related to my entity in ngrx/data, I would like to show it as I am not certain it is accurate... Say a I have a movie library and I can add tags to movies with PUT ...
grx00's user avatar
  • 19
-1 votes
1 answer
2k views

Where do I put code to initialize before custom module initialization in Angular 14?

I'm using ngrx/data 14 and Angular 14. I have built a custom module that I load in my app.module.ts file like so @NgModule({ declarations: [ AppComponent ], imports: [ ... ...
Dave's user avatar
  • 19.6k
3 votes
0 answers
275 views

Injection Token Provider definition for Lazy Loaded Module not working

I have defined a module for data access in my angular application and I am using NgRx/Data. The Module hierarchy looks like this: AppModule Customer-Module (LazyLoaded) -> Imports Customer-Data-...
Weissvonnix's user avatar
1 vote
0 answers
287 views

Adding NgRx with Nx MFE cause Unable to evaluate this expression statically

Adding NgRx to the Nx MFE angular application cause the below issue, removing the generated files issue is not there @NgModule({ declarations: [AppComponent], imports: [ ......... ...
San Jaisy's user avatar
  • 17.2k
3 votes
1 answer
358 views

Does ngrx/data provide a way to define a custom base API path for my DefaultDataService and then reference that path?

I'm using Angular 13 with NgRx/data and entities (v 13). I have defined the following data service, in which I wish to override the URL used to retrieve entities ... export class MyObjectService ...
Dave's user avatar
  • 19.6k
1 vote
1 answer
173 views

How do I set entity in ngrx if it is not an array?

I am learning ngrx/data From the code sample on line, it uses heros(plural) import { Component, OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import { Hero } from '../../core'; ...
Hello's user avatar
  • 826
2 votes
1 answer
2k views

How do I automatically refresh my PrimeNG table from data from my ngrx/data service?

I'm using Angular 13 and ngrx/data, store and entity (v.13). I have set up my ngrx/data service export class MyObjService extends DefaultDataService<MyObject> { ... } and then a component ...
Dave's user avatar
  • 19.6k
0 votes
0 answers
239 views

ngrx/Data API call with path params

I am trying to implement ngrx Data. However the API does not take query params, instead it takes path/route params. How can I achieve the following calls with ngrx/Data: GET /api/v1/Entity/{...
artur shevtsov's user avatar
0 votes
1 answer
249 views

Ngrx/data overwrite entityResource method from DefaultHttpUrlGenerator

My goal is to send to the backend a request like this "localhost:8889/api/notebooks/1". By default it sends this request "localhost:8889/api/notebook/1". What I tried until now is ...
Jean-Paul Abi-Ghosn's user avatar

15 30 50 per page
1
2 3 4 5
8