DEV Community

Discussion on: Semantic Grouping Folders with Nx

Collapse
 
fkrautwald profile image
Frederik Krautwald

If you have a bounded-context-level shared grouping folder, should it also have a shell?

I refer to this statement:

…it is a good recommendation NOT to import libraries from a Bounded Context Grouping Folder directly…Use one or more Composite Shell libraries as the Bounded Context entry points.

Collapse
 
naxodev profile image
Nacho Vazquez • Edited

Hi Frederik!

Sorry for the late response!

No, shells only are the entry point of a group of functionality, in this case for a Bounded Context.

Shared Grouping folders are about crossing boundaries between elements of groups that are using the same libraries.