Problem Statement
Adapter helps you:
Explanation
Adapter translates between incompatible interfaces. It protects clients from vendor API churn and allows gradual migration.
It is local and minimal. You adapt only the boundary while keeping the core model stable.
Code Solution
SolutionRead Only
class S3Adapter implements BlobStore { put(b){ s3.putObject(b); } }