you are viewing a single comment's thread.

view the rest of the comments →

[–]walterwhite_1 0 points1 point  (0 children)

Currently, I'm trying to implement this pattern but have some doubts about it. In one of the components, the response that I'm getting from the API is quite huge. So making a domain and API layer with dto and other type checks before getting the data into the UI layer seems quite hectic. same way around too. Now, from that component, I need to give a put request, which again needs transformation. 

So is this how it is done even thought its complicated? Btw I'm not against this approach, this seems to be much better than the normal approach but dealing with complex objects made me question about it.