Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

Commit 2de9c6b

Browse files
committed
disable auto-generation of bi-directional relationships
1 parent 3bd0bbf commit 2de9c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/jdl-core/cli/parse-jdl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
};
1111

1212
function parseJDL(jdlString, configuration = {}) {
13-
configuration = { databaseType: 'sql', ...configuration }; // warning: options may be a java HashMap, we need this transformation
13+
configuration = { databaseType: 'sql', unidirectionalRelationships: true, ...configuration }; // warning: options may be a java HashMap, we need this transformation
1414
const content = parseFromContent(jdlString);
1515
const jdlObject = getJDLObject(content, configuration);
1616
checkForErrors(jdlObject, configuration);

0 commit comments

Comments
 (0)