Skip to content

repository のinterface がfirestore に依存している #106

@r-sakamoto-tg

Description

@r-sakamoto-tg

自動生成されたrepository のinterface がfirestore に依存しています。
firebase の構造体を別の構造体でラップしてあげると外部に実装を隠せていいと思います。

参考
https://zenn.dev/kohii/articles/e4f325ed011db8#%E4%BE%9D%E5%AD%98%E6%80%A7%E9%80%86%E8%BB%A2%E3%81%AE%E5%8E%9F%E5%89%87-%EF%BC%88dependency-inversion-principle%EF%BC%89

Metadata

Metadata

Assignees

No one assigned

    Labels

    v2破壊と創造

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions