Skip to content

Commit 531a845

Browse files
markusthoemmesrabbah
authored andcommitted
Simplify Spi implementations. (#2663)
Using `object`s instead of a hollow class as the "factory" for an Spi makes them being singleton by default, which reduces boilerplate to implement an Spi. The `Dependencies` object is not used anywhere and there might be better alternatives which we can decide on once the need of them comes up. For now, the Spi's interfaces are relatively tightly coupled to their current default implementations anyway. Also updated documentation.
1 parent dc8cf4d commit 531a845

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/src/test/resources/application.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11

22
whisk.spi {
3-
DependentSpi = whisk.spi.DepSpiImpl
4-
TestSpi = whisk.spi.TestSpiImpl
53
SimpleSpi = whisk.spi.SimpleSpiImpl
64
MissingSpi = whisk.spi.MissingImpl
75
MissingModule = missing.module

0 commit comments

Comments
 (0)