Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NgRx 8 createAction syntax #5

Open
alecrt opened this issue Nov 19, 2019 · 2 comments
Open

NgRx 8 createAction syntax #5

alecrt opened this issue Nov 19, 2019 · 2 comments

Comments

@alecrt
Copy link

alecrt commented Nov 19, 2019

Hi @xipheCom,

any idea on how to use this module with new NgRx 8 "createAction" syntax?

Thank you,
AC

@progral
Copy link
Owner

progral commented Dec 25, 2019

Nope. If you really need it, you can still use the "old" syntax with ngrx.

@krambono
Copy link

I would say thank you to the author ! I ran into a similar problem with normalized store and hopefully I saw what you did.
We can't use the new syntax I guess.
I wrote that :

export class MultiAction implements Action {
  readonly type = 'Multi';
  public isBatchAction = true;
  constructor(public payload: Action[]) {}
}

And it's working perfectly ! I don't use the decorator, I had ts errors with it.

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

No branches or pull requests

3 participants