Skip to content

ScribeLogging Layer Composition Complexity #7

Description

@arashi01

Layer composition in installConfig uses sequential composition (>>>) in nested manner:

baseInstall >>> (configureRootLayer >>> namedLayer)
  • This creates implicit ordering dependencies
  • Both configureRootLayer and namedLayer require ScribeConfigurator from baseInstall
  • Sequential composition is correct but could be clearer
  • Should probably use ZLayer.make for clearer dependency expression
  • Add clearer doc explaining the required ordering

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions