JaimeStill / decentralized-staffing

PoC for structuring microservice apps and automating their infrastructure in Azure
0 stars 0 forks source link

Baseline Service Structure #6

Closed JaimeStill closed 1 year ago

JaimeStill commented 1 year ago

Instead of trying to accommodate every scenario for a given function, structure services in a way that facilitates functional composition. The core functionality should be established in the signature of the function, and hooks should be exposed at key points of the operation to allow additional functionality to be defined by the class that implements the interface corresponding to the service feature.