Inversione delle dipendenze

  • ◷ 6 min
  • Principiante
  • 7 passi

The rules should not depend on the database. Turn the arrow around with a simple promise.

Questa lezione non è ancora tradotta in italiano, quindi è mostrata in inglese.

Arrows rules → database code
1
Storages
1
Changes in the rules
—
  • Rules
  • Database code
  • Promise (interface)
  • Test store