Skip to content

Tracking issues for unifying code pattern of services #6755

@koushiro

Description

@koushiro

As discussed in #6752

there are still inconsistencies in implementation patterns across various services. This discussion aims to discuss and unify these coding details to improve code consistency and maintainability.

Tasks

  • Implement Debug Trait for all service builders
    • Most service builders include corresponding service config fields. Special attention should be paid to whether sensitive information might be printed in the debug implementation.
  • Module and Structure Renaming
    • ServiceAccessorServiceBackend (to align the naming conventions of backend module)
    • delete module → deleter module (to align with naming conventions like writer, reader, lister)
  • Remove Empty list Operation Implementations
    • Only keep list implementations in services that actually provide this functionality
    • Remove useless list implementations from services that don't support this operation or have not implemented it yet.
  • Unify Scheme Usage
    • Prefer direct string-based scheme specification over enum-based approach
    • Remove Scheme enum usage from bindings
    • Remove the Scheme enum
  • Create a service implementation guide/template

Metadata

Metadata

Assignees

Labels

corereleases-note/refactorThe PR does a refactor on code or has a title that begins with "refactor"

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions