We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In earlier versions of ngrx, the Action interface had a payload attribute. This no longer seems to be the case:
https://github.com/ngrx/platform/blob/master/modules/store/src/models.ts#L1-L3
I am wondering if this library needs to be updated to account for this. For instance, in the source code it makes a check if (action.payload):
if (action.payload)
https://github.com/brandonroberts/ngrx-store-freeze/blob/master/src/index.ts#L19-L21
But what happens when the action uses a different name other than payload?
payload
The text was updated successfully, but these errors were encountered:
My suggestion is . to adhere to the current action interface and only use a type property.
Sorry, something went wrong.
No branches or pull requests
In earlier versions of ngrx, the Action interface had a payload attribute. This no longer seems to be the case:
https://github.com/ngrx/platform/blob/master/modules/store/src/models.ts#L1-L3
I am wondering if this library needs to be updated to account for this. For instance, in the source code it makes a check
if (action.payload)
:https://github.com/brandonroberts/ngrx-store-freeze/blob/master/src/index.ts#L19-L21
But what happens when the action uses a different name other than
payload
?The text was updated successfully, but these errors were encountered: