Frameworks and Business Rules
Define boundaries between the core domain and infrastructure to enable a pluggable system.[¹]
The library components do not define the architectural boundaries of a system. The features that support business capabilities do.
Don’t let framework components into your business domain. Framework’s architecture exists to support the tool rather than any business.
Frameworks are not built but extracted — David Heinemeier Hansson
— -
[¹]: Robert Martin (2018): Clean architecture: a craftsman’s guide to software structure and design(https://www.amazon.com/Clean-Architecture-Craftsmans-Software-Structure-ebook-dp-B075LRM681/dp/B075LRM681/ref=mt_other?_encoding=UTF8&me=&qid=)