I need to upload a file using Ngrx. I don't have to save the file in the Store but I need to pass it between actions, effects and finally services to manage some datas the APIs send me back.
When I choose the file and then click on the upload button I receive the Error: Detected unserializable action on the file parameter.
I tried many solutions like parse and stringify, spreading the object and so on but no one worked. The only solution for now is to set strictActionSerializability on false, but it's not a solution.
I reproduced the situation on this stackblitz: https://stackblitz.com/edit/angular-it6q41
Does anyone have a suggestion on how to solve this?