You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thank you for making mande and continuing to support it 馃檪 this is the best fetch library available. I really appreciate it.
My proposal here is to add a config option for dev's to pass a replacer function to the JSON.stringify that is used when making API calls. This would really help when resolving cyclic reference issues.
The text was updated successfully, but these errors were encountered:
michaelnwani
changed the title
[Feature Request] Support passing replacer function to JSON.stringify
[Feature Request] Support JSON.stringify replacer function
Mar 14, 2023
Firstly, thank you for making mande and continuing to support it 馃檪 this is the best fetch library available. I really appreciate it.
My proposal here is to add a config option for dev's to pass a replacer function to the
JSON.stringify
that is used when making API calls. This would really help when resolving cyclic reference issues.Example inspired from MDN:
Maybe we can set it during the mande initialization, so it would look something like:
The text was updated successfully, but these errors were encountered: