johanhaleby / occurrent

Unintrusive Event Sourcing Library for the JVM
https://occurrent.org
120 stars 16 forks source link

Features for ModuleDSL #125

Open johanhaleby opened 1 year ago

johanhaleby commented 1 year ago

We should add feature support from the get-go:

module(name = "rock-paper-scissors") {
    feature("reporting") {
     policies {
       }
    }
    feature("game") {
       commands {
       }
       query {
       }
       policies {
       }
       sagas {
       }
    }
}