Jeffrey Dawes
10/29/2024, 4:04 PMStoreResponse
as their returns types and others where they use their own types. In this case, I'm specifically curious about Flow
return types. What is the guidance on this topic, if any?
I was planning to map the StoreResponse
to my Result
type class to simplify since it only has a loading, success, and error state. But then I would lose the nice things like the response origin. What has been other people's experience with this? Do you commit to exposing Store
classes from your repositories or do you map to a similar or identical local class?Matthew Ramotar
10/29/2024, 4:07 PMMatthew Ramotar
10/29/2024, 4:21 PMJeffrey Dawes
10/29/2024, 4:26 PMMatthew Ramotar
10/29/2024, 5:56 PMStoreReadResponse
as an implementation detail of the generic Repository
that you ownblakelee
10/29/2024, 8:16 PMResult
obj you are talking about. At home I just want to build stuff so I use the StoreResponse
in my repository then finally convert to a UI model in my VM equivalent.Jeffrey Dawes
10/29/2024, 8:53 PM