Skip to content

Introduce Adapter layer for YAML operations #2669

@Tanmay-008

Description

@Tanmay-008

Summary

Add an adapter layer to abstract YAML operations from the core logic.
The adapter will act as an intermediary between the application and the YAML library, ensuring that library-specific changes or replacements do not impact the business logic.

Why This Is Needed

Library Independence — Decouple YAML parsing logic from direct dependency on any specific library.

Maintainability — Centralize YAML-related code, making upgrades or replacements easier.

Testability — Allow mocking or replacing the YAML layer during testing.

Clean Architecture — Follows the Adapter Pattern to keep logic isolated from external tools.

Expected Outcome

Core logic will no longer directly depend on YAML libraries.

Future changes in the YAML library will require modification only in the adapter layer.

Improved modularity, readability, and test coverage.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions