You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking about how to implement the "Functional Core, Imperative Shell" pattern in our application and was wondering how it maps to Hyper (specifically Clients).
I know you can build a Client while passing along a connector (a custom tower::Service). If I create a stub connector and instantiate my Client with it, does all the logic in the Client become pure?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm thinking about how to implement the "Functional Core, Imperative Shell" pattern in our application and was wondering how it maps to Hyper (specifically
Client
s).I know you can build a
Client
while passing along a connector (a customtower::Service
). If I create a stub connector and instantiate myClient
with it, does all the logic in theClient
become pure?Beta Was this translation helpful? Give feedback.
All reactions