Add a namespace for the bases and component #218
Replies: 3 comments 4 replies
-
(moving this into the |
Beta Was this translation helpful? Give feedback.
-
Hi @asheeshgarg! Thank you for your question. You are right, it is recommended to have a flat structure for what is called As you write, you can have sub-namespaces within a base or component, but it will be a part of the parent and not recognized as a separate brick. This is a design choice of the Polylith Architecture, and mainly because to make it simple to share and reuse code. As your example, the I hope this answers your question. I hope you will find the Polylith Architecture and the tooling support useful! |
Beta Was this translation helpful? Give feedback.
-
Thanks @DavidVujic one follow up question for some of the data pipelines we have different implementation of components like Spark Vs Polars. Any recommendation do we have a single interface and implementation inside the components or we should create separate namespaces. |
Beta Was this translation helpful? Give feedback.
-
@DavidVujic
For the components and bases is it possible to add additional name spaces apart from global workspace namespace.
For example I am developing various connector for a project like http/ kafka etc I want to put them into bases called my_workpace/connector
-http
I can create sub module inside the connector but when we run poly info it only show the top level component and also not tracked at the diff perspective in order to build it. Please suggest if I missed some other way to manage this
Beta Was this translation helpful? Give feedback.
All reactions