Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add documentation describing how the platform is built #17987

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

IvanKavaldzhiev
Copy link
Contributor

Currently the logic for building the SwirldsPlatform, which is the main platform class is a bit complex. In order to give more clarity of how it's constructed and to see easier what steps might be defined to refactor and clean this logic, this documentation is added to the repo.

Fixes #17946

@IvanKavaldzhiev IvanKavaldzhiev added the Platform Tickets pertaining to the platform label Feb 20, 2025
@IvanKavaldzhiev IvanKavaldzhiev added this to the v0.60 milestone Feb 20, 2025
@IvanKavaldzhiev IvanKavaldzhiev self-assigned this Feb 20, 2025
@IvanKavaldzhiev IvanKavaldzhiev requested a review from a team as a code owner February 20, 2025 17:02
Here is a diagram illustrating the connection and sequence between all of the builders and key components used to
construct the `SwirldsPlatform`

![](platform-building.png)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, I still find my self confused. What is specified by the application and what is not? Why the separation between the PlatformComponentBuilder and the PlatformBuilder? In the diagram, I don't understand why some blocks are green and some are white. If some blocks are required by others, it seems more clear to put those boxes inside of each other to show what top level objects contain the others.

I know this was originally setup very diligently with separation of concerns and allowing the app to specify certain things and not others. This is what I want an explanation for, if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform Tickets pertaining to the platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document Platform startup sequence and required dependencies
2 participants