Skip to content

Commit

Permalink
Removed unused application.properties & added check to end blaze co…
Browse files Browse the repository at this point in the history
…degen betimes

Changes needed for project evaluation.
  • Loading branch information
kurbaniec committed Mar 19, 2024
1 parent cf8172e commit 327c57b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ class BeePersistentBlazeFeature : BeeGenerativeFeature {
}

// Validate
if (inheritedEntities.values.isEmpty()) {
logger.info("No entities found. Stopping codegen betimes.")
return
}
for (entityInfo in inheritedEntities.values) {
if (entityInfo.id === IdProperty.PLACEHOLDER) {
throw IllegalArgumentException("Entity [${entityInfo.simpleName}] has no ID")
Expand Down
1 change: 0 additions & 1 deletion bee.persistent/src/main/resources/application.properties

This file was deleted.

0 comments on commit 327c57b

Please sign in to comment.