Hey everyone Jay and I …

less than 1 minute read

Hey everyone, Jay and I are trying to figure the best pattern for nest libraries. Would we want to be only placing services into the lib and have a controller in the app that uses that libs service or do we have the logic in a second service that the controller+service would use?

Responses:

Personally I’d suggest the former, otherwise you’ll end up with fairly anemic services. There could be reasons to go with the latter route if the logic that the services use is big enough to be abstracted into another layer though…

Basically, it depends :smile:

Updated: