Skip to content

Commit

Permalink
Merge pull request #317 from sahanHe/sahan-release-v1.2.0
Browse files Browse the repository at this point in the history
[1.2.x] Fix issue with the loss of existing configs in Config.toml file
  • Loading branch information
sahanHe authored Oct 23, 2023
2 parents 667d06c + 11ac8f8 commit 21e7879
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

### Changed
- [Fixed the issue related to existing configurations in Config.toml file](https://github.com/ballerina-platform/persist-tools/issues/314)
- [Fix the logic in persist client generation with respect to refColumns in the joinMetadata](https://github.com/ballerina-platform/persist-tools/issues/312)

## [1.2.0] - 2023-09-19
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ port = 3306
user = "root"
password = ""
database = ""

[persist_generate_5.connectionOptions.ssl]
allowPublicKeyRetrieval=true
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ user = "root"
password = ""
database = ""

[persist_generate_5.connectionOptions.ssl]
allowPublicKeyRetrieval=true
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ private SyntaxTree getUpdateConfigTomlSyntax(Path configPath, String moduleName,
moduleMembers = moduleMembers.add(member);
if (node.identifier().toSourceCode().trim().equals(moduleName)) {
configExists = true;
break;
}
} else if (member instanceof TableArrayNode) {
moduleMembers = moduleMembers.add(member);
Expand Down

0 comments on commit 21e7879

Please sign in to comment.