Skip to content

Commit

Permalink
Merge pull request #31 from SchwarzIT/bugfix/entity-relationship
Browse files Browse the repository at this point in the history
Fixes bug where er diagram was not written to disk
  • Loading branch information
sbra0902 authored Nov 13, 2020
2 parents bb25ba4 + 337deb4 commit 9f030f4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class CoachBaseBinderProcessor : AbstractProcessor() {
documentationGenerator = DocumentationGenerator(it, processingEnvironment.options.getOrDefault(FRAMEWORK_DOCUMENTATION_FILENAME_OPTION_NAME, "default.html"))
}
processingEnvironment.options[FRAMEWORK_ENTITY_RELATIONSHIP_PATH_OPTION_NAME]?.let {
entityRelationshipGenerator = EntityRelationshipGenerator(it, processingEnvironment.options.getOrDefault(FRAMEWORK_ENTITY_RELATIONSHIP_FILENAME_OPTION_NAME, "default.html"))
entityRelationshipGenerator = EntityRelationshipGenerator(it, processingEnvironment.options.getOrDefault(FRAMEWORK_ENTITY_RELATIONSHIP_FILENAME_OPTION_NAME, "default.gv"))
}
super.init(processingEnvironment)
}
Expand Down Expand Up @@ -109,6 +109,7 @@ class CoachBaseBinderProcessor : AbstractProcessor() {
})

documentationGenerator?.generate()
entityRelationshipGenerator?.generate()

return true // no further processing of this annotation type
}
Expand Down

0 comments on commit 9f030f4

Please sign in to comment.