bmoliveira / Moya-ObjectMapper

ObjectMapper bindings for Moya and RxSwift
MIT License
492 stars 172 forks source link

help status:"ok" message:"" data: model #65

Open stevenkitter opened 7 years ago

stevenkitter commented 7 years ago

how can i mapObject this data {status:"ok" message:"" data: model} the data is my model

mouse-lin commented 6 years ago

The same question to me

akring commented 6 years ago

It seems that this lib just map the response data, so I found it hard to extract 'data' for mapping.

Is there any better idea than define status:"" message:"" in our model ?

khoren93 commented 5 years ago

I hope it will be useful. https://github.com/khoren93/SwiftHub/issues/7#issuecomment-467845281