-
-
Notifications
You must be signed in to change notification settings - Fork 64
feat: let default nomalizer be more general #122
Copy link
Copy link
Open
Labels
Description
Hi.
Currently, the default normalizer covers quite narrow cases only.
So, if argument(s) is(are) object(s) (including array), users have to specify a normalizer.
However, in fact, many more objects, which current default normalizer cannot cover, can be serialized without extra configuration.
For example, we can use https://github.com/yahoo/serialize-javascript for new default nomalizer.
(This would be a better default choice compared to JSON.stringify or so.)
Sane default options would be convenient for users.
How do you think?
Thanks.
Reactions are currently unavailable