Netanel Basal

Results 282 comments of Netanel Basal

https://github.com/datorama/akita/blob/888a8253ed03d8af77306d06e0ecbef3b1b78cec/libs/akita/src/lib/queryEntity.ts#L381

This one: ```ts const config = { sortBy: 'id', sortByOrder: Order.ASC } @QueryConfig(config) export class DeviceTelemetryQuery extends QueryEntity { ui: EntityUIQuery; constructor(protected store: DeviceTelemetryStore) { super(store); this.createUIQuery(config); } } ```

Can you reproduce it on stackblitz, please?

Error: ENOENT: No such file or directory., '/dev/null'

The update method will merge the current state with the new one. You can use the setState method to override it.

I prefer to add options to the update method. `update(object, { overwrite: true })`

Yes. We can exclude the core entity mutations for this benefit and emit the action in each.

```ts import { ofType } from '@ngneat/elf'; import { EntityActions } from '@ngneat/elf-entites'; store.actions$.pipe(ofType(EntityActions.Add)).subscribe() ```

Let me know when I can recheck it, please.