-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
createAsyncThunk cannot pass non-serializable arg #453
Comments
Eep. Yeah, we originally called that @phryneas , which way do we want to call it? We either need to either keep Hmm. You've also got a good point on the paths thing. Now I'm confused why our tests didn't catch this. |
@markerikson I think the renaming to |
Okay. You got time to make that edit and fix whatever tests aren't catching this? We should probably use |
I can take a look tomorrow. |
Okay, looking at the code I have questions. Right now, it looks like we are using While I'm at it: Want to make it possible to override action paths by doing an ignoredPath like |
Let's move that discussion into the PR (if there's any reason for discussion :) ) |
I try to use
createAsyncThunk
with non-serializable object like:and I got error
I found this issue ignored
meta.args
by default#410
but maybe
createAsyncThunk
firemeta.arg
Additionaly, I try customize
serializableCheck.ignoredPaths
option, I cannot resolve this too.This maybe not passed
ignorePaths
params tofindNonSerializableValue
redux-toolkit/src/serializableStateInvariantMiddleware.ts
Lines 157 to 162 in a1e8bec
The text was updated successfully, but these errors were encountered: