You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NodeTypeWithComponents adds adapters as part of the build process; most of this might become simpler if we could combine generics into an additional trait. Instead of enforcing specific types in node builder fields we want to introduce an additional abstraction layer in the form of a BuilderInternals trait that represents the node builder state.
The builder operates on the adapter types. We can try to operate on traits and generics entirely, remove the fields with the adapter types and use instead a single adapter that implements the internal helper trait BuilderInternals.
trait BuilderInternals with associated types
BuilderComponentsAdapter as concrete struct
changes in NodeTypeWithComponents to have a single field BuilderComponentsAdapter
The text was updated successfully, but these errors were encountered:
NodeTypeWithComponents
adds adapters as part of the build process; most of this might become simpler if we could combine generics into an additional trait. Instead of enforcing specific types in node builder fields we want to introduce an additional abstraction layer in the form of aBuilderInternals
trait that represents the node builder state.The builder operates on the adapter types. We can try to operate on traits and generics entirely, remove the fields with the adapter types and use instead a single adapter that implements the internal helper trait
BuilderInternals
.BuilderInternals
with associated typesBuilderComponentsAdapter
as concrete structNodeTypeWithComponents
to have a single fieldBuilderComponentsAdapter
The text was updated successfully, but these errors were encountered: