Open kenkoii opened 6 years ago
Okay noted @kenkoii. Thanks 👍
unsay possible values sa status aside sa "ok" @whaangbuu ?
Ang data: { result: {
this part is nested pud. Which is weird. dpat ang data : { actual word object }, wala nay result. What do you think?
Sakto ka @kenkoii 👍, nested gyud ang return. Dapat wla na ang result
, murag from gin
man sguro na, ako na e check nya.
Regarding sa unsay possible values sa status aside sa "ok"
, arbitrary pman na migo :) wla pod ko kibaw, for now kana ra ako gi butang together with error message if ever sayop sya
so siguro status "error" sah? para mao ipangvalidate sa muconsume sa API
Yes @kenkoii 👍 pwede ra.
Kana nalng ato e figure out ang dested object from data
then naa pa gyud result
. Ako sad e check ning sa gin
na side ug ngano mo create ug lain na object @kenkoii
changing our commons function(OutputDataAsJSON) parameter gin.H param to a generic interface{} will and passing result directly from the calling method will fix it. Although I'm not sure if it's the best way.
I think we can improve the current response object. Let's talk about it.