stxpons
stxpons
同求,项目直接集成在springboot项目里。 比如后端增加一个拦截器,指定某路径(方法)是否mock或者前端通过header指定需要mock标志。 需要mock时,后端根据swagger example生成或自动生成mock数据(或者本地文件夹或远程resource(如http url)可以手工指定mock的json数据)
实际的表达式案例类似如图。 底下是我格式化后(接手的老系统,表达式存json格式属性里的,故不好格式化),并加了红色翻译描述的。 如果没有格式化+解释描述,是不是很反直觉呢,>_
this issue only happen at first time jvm is started and only the first domain event is concurrency enqueue, this will cause initing the Child(eg: Child1) AggregateModel
i had checked if other factory like this. i think AnnotationSagaMetaModelFactory is good: https://github.com/AxonFramework/AxonFramework/blob/58fd4d2d3975581cf42ef8760bda61901bfde339/modelling/src/main/java/org/axonframework/modelling/saga/metamodel/AnnotationSagaMetaModelFactory.java#L82