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

add ignoredActionPaths to createSerializableStateInvariantMiddleware #457

Merged
merged 1 commit into from
Apr 4, 2020

Conversation

phryneas
Copy link
Member

allow configuration of createSerializableStateInvariantMiddleware ignoredActionPaths, update default value, add tests

fixes #453

I've opted for the additional ignoredActionPaths option now, but I'm open for discussion :)

…oredActionPaths, update default value, add tests
@netlify
Copy link

netlify bot commented Mar 29, 2020

Deploy preview for redux-starter-kit-docs ready!

Built with commit 9fb1c29

https://deploy-preview-457--redux-starter-kit-docs.netlify.com

@phryneas
Copy link
Member Author

The codesandbox CI build fails because we got a test taking more that 32ms, adding the "check took too long" message to the output. Not really sure how we should handle that :/

Also, shouldn't travis be running?

}
const nonSerializableValue = new Map()

it('default value: meta.arg', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's throw in a use of createAsyncThunk here and dispatch one of its actions too, just to confirm that we that's consistent.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@markerikson
Copy link
Collaborator

Yeah, not sure why Travis isn't running.

@markerikson
Copy link
Collaborator

Tests pass locally, so we're good.

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

Successfully merging this pull request may close these issues.

createAsyncThunk cannot pass non-serializable arg
2 participants