Skip to content

Move bucket implementation selection to a factory #396

@kaklakariada

Description

@kaklakariada

Review follow-up from PR #394 for issue #393.

Bucket.create currently lives on the generic Bucket abstraction and directly references all concrete bucket implementations. This makes the abstraction depend on implementation details.

Proposed direction:

  • Introduce a dedicated bucket factory.
  • Move scheme-to-implementation selection into that factory.
  • Keep Bucket focused on the bucket contract.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringCode improvement without behavior change
    No fields configured for Refactoring.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions