Closed rakeshar3796 closed 1 week ago
@justjake any views on this?
Its possible to write such a function yourself using iteration or JSON stringify/parse.
Hey @justjake, thanks for the workaround yeah writing own function will help out but for my case JSON stringify/parse won't help.
Hey @justjake, thanks for the wonderful library, I've started exploring the library few weeks now and playing around it.
I've a question related to a scenario, where i've a custom method say
getData
when called it returns an object. For now it returns an mock object like below,so to return this object what i understood is i need to write code like below
like lets say i've a JS Object like
instead of iterating the object and setting in context?
Also this helps when i create a function to make external API calls and want to return the result to the host?