Closed kptLucek closed 7 years ago
Hello! Thanks for the issue. I've just implemented that for you. Published 3.3.0
Resource
method $bodySerializer(body: any): string
to implement customs serializer.ResourceAction
decorator bodySerializer(body: any): string
to implement custom serializer per resource method.Works like a charm!
I'm glad to hear that.
Hi
Is there any chance to change way, that body is being serialized?
Right now it's made by
JSON.stringify
, but... it resuts in many problems with backend API im using for that project.The perfect way for me, would be to choose between
stringify
and for exampleURLSearchParams
(aka, NG1 $httpParamSerializer) described in here.If it's not possible to implement any soon, then any workaround more than welcome.