Skip to content

Commit

Permalink
Revert "prepares isAggregate for polyglot persistence"
Browse files Browse the repository at this point in the history
This reverts commit 3a93d73.
  • Loading branch information
ivangsa committed Nov 6, 2024
1 parent 9bbd837 commit 92adfec
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ private boolean isEntityOrEnum(ZdlModel model, String entityName) {

private boolean isAggregate(ZdlModel model, String entityName) {
return JSONPath.get(model, "$.aggregates." + entityName) != null
|| JSONPath.get(model,"$.entities." + entityName + ".options.aggregate", false)
|| JSONPath.get(model,"$.entities." + entityName + ".options.persistence") == null;
|| JSONPath.get(model, "$.entities." + entityName + ".options.aggregate", false);
}

private List<String> methodEventsFlatList(Map<String, Object> method) {
Expand Down

0 comments on commit 92adfec

Please sign in to comment.