8000 Refactor storage package to focus on how to update instead of what to update · Issue #490 · caraml-dev/merlin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Refactor storage package to focus on how to update instead of what to update #490
Open
@ariefrahmansyah

Description

@ariefrahmansyah

Is your feature request related to a problem? Please describe.

Model Endpoint Storage's Save method in the storage package has a logic on what and how to update both model endpoint and model version endpoint. This could lead to confusion on how to implement service and storage layer in the future.

Related discussion: #483 (comment)

Describe the solution you'd like

  • A clear separation and guideline for service and storage layer's responsibilties
  • Refactor storage layer to be more responsible on how to update the data and let service layer decide what to save

Metadata

Metadata

Assignees

No one assigned

    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

      0