muoncore / newton

Extend Muon into the world of Spring. Implement Muon apis, especially around events to provide DDD patterns natively in Spring Boot
http://muoncore.io
GNU Lesser General Public License v3.0
12 stars 5 forks source link

Support SpEL in @AggregateConfig #32

Open daviddawson opened 7 years ago

daviddawson commented 7 years ago

Currently if no aggregate config is passed in, a spel expression of '${spring.application.name}' is used.

It would be useful to be able to support arbitrary expressions in the AggregateConfig.context param.

This would need to be evaluated within AggregateRootConfig when called from MuonEventSourceRepository.