The new name is consistent with existing names JavaCodeGenerator and CliJavaCodeGeneratorOptions.
Backward compatibility is ensured by turning JavaCodegenOptions into a (deprecated) type alias.
Second commit: Deprecate CliJavaCodeGeneratorOptions.toJavaCodegenOptions()
I suspect this method was a public API by accident.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/801
**Author:** [@odenix](https://github.com/odenix)
**Created:** 11/12/2024
**Status:** ✅ Merged
**Merged:** 11/14/2024
**Merged by:** [@bioball](https://github.com/bioball)
**Base:** `main` ← **Head:** `java-codegen-rename`
---
### 📝 Commits (2)
- [`ff4b41f`](https://github.com/apple/pkl/commit/ff4b41f6eeb5dbcf6f486790aa08888ddacfa54f) Rename JavaCodegenOptions to JavaCodeGeneratorOptions
- [`2088ed8`](https://github.com/apple/pkl/commit/2088ed820f00f5ef9684d62da6313e212301325a) Deprecate CliJavaCodeGeneratorOptions.toJavaCodegenOptions()
### 📊 Changes
**4 files changed** (+22 additions, -13 deletions)
<details>
<summary>View changed files</summary>
📝 `pkl-codegen-java/src/main/kotlin/org/pkl/codegen/java/CliJavaCodeGenerator.kt` (+1 -1)
📝 `pkl-codegen-java/src/main/kotlin/org/pkl/codegen/java/CliJavaCodeGeneratorOptions.kt` (+6 -2)
📝 `pkl-codegen-java/src/main/kotlin/org/pkl/codegen/java/JavaCodeGenerator.kt` (+5 -2)
📝 `pkl-codegen-java/src/test/kotlin/org/pkl/codegen/java/JavaCodeGeneratorTest.kt` (+10 -8)
</details>
### 📄 Description
The new name is consistent with existing names `JavaCodeGenerator` and `CliJavaCodeGeneratorOptions`.
Backward compatibility is ensured by turning `JavaCodegenOptions` into a (deprecated) type alias.
Second commit: Deprecate `CliJavaCodeGeneratorOptions.toJavaCodegenOptions()`
I suspect this method was a public API by accident.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/801
Author: @odenix
Created: 11/12/2024
Status: ✅ Merged
Merged: 11/14/2024
Merged by: @bioball
Base:
main← Head:java-codegen-rename📝 Commits (2)
ff4b41fRename JavaCodegenOptions to JavaCodeGeneratorOptions2088ed8Deprecate CliJavaCodeGeneratorOptions.toJavaCodegenOptions()📊 Changes
4 files changed (+22 additions, -13 deletions)
View changed files
📝
pkl-codegen-java/src/main/kotlin/org/pkl/codegen/java/CliJavaCodeGenerator.kt(+1 -1)📝
pkl-codegen-java/src/main/kotlin/org/pkl/codegen/java/CliJavaCodeGeneratorOptions.kt(+6 -2)📝
pkl-codegen-java/src/main/kotlin/org/pkl/codegen/java/JavaCodeGenerator.kt(+5 -2)📝
pkl-codegen-java/src/test/kotlin/org/pkl/codegen/java/JavaCodeGeneratorTest.kt(+10 -8)📄 Description
The new name is consistent with existing names
JavaCodeGeneratorandCliJavaCodeGeneratorOptions.Backward compatibility is ensured by turning
JavaCodegenOptionsinto a (deprecated) type alias.Second commit: Deprecate
CliJavaCodeGeneratorOptions.toJavaCodegenOptions()I suspect this method was a public API by accident.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.