akita
akita copied to clipboard
Paginator plugin cannot be used with active state
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
The paginator plugin cannot be used with an EntityState that also has ActiveState.
Expected behavior
ActiveState should work for EntityState when the paginator plugin is used.
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/angular-ivy-kywazt
What is the motivation / use case for changing the behavior?
It is desirable to use active state for entitystates to keep track of current active object. The server side pagination is also required as there are tons of entities in the DB.
Environment
Angular version: 12.2.7
Browser:
- [x] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: 14.17.6
- Platform: Mac
Others:
Anyone here to help me with this please?