Skip to content

Conversation

jkubrynski
Copy link
Member

No description provided.

* Generation based on setting up embedded database and dumping the schema
*/
DATABASE,
EMBEDDED_DATABASE,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe an overkill, but this isn't backward compatible? This enum is used as part of configuration?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, but as we're releasing the stable version I don't have problem with breaking it

throw new IllegalArgumentException("For UPDATE action outputPath must be a directory");
}
if (settings.getGenerationMode() != GenerationMode.DATABASE) {
if (settings.getGenerationMode() != GenerationMode.EMBEDDED_DATABASE && settings.getGenerationMode() != GenerationMode.CONTAINER_DATABASE) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe some flag on GenerationMode to avoid &&? Also, the error message below is incorrect

<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the reference, it's because of testcontainer's dependency on junit

…maProcessor.java

Co-authored-by: Tomasz Nurkiewicz <nurkiewicz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants