-
-
Notifications
You must be signed in to change notification settings - Fork 7k
[Kotlin Server] Update Ktor to latest version; move config to kts #19727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
thanks for the PR cc |
shall we keep |
Hey @wing328, thank you for the notice. According to our stats, less than 0.5% of users use the Groovy script, so we're considering it a legacy and not recommending it for new projects. (We can still add it if necessary.) By the way, in Ktor support, we received feedback about the generator's confusing naming: while it's named Kotlin, it generates a Ktor server. At the same time, people are struggling to find the Ktor generator in the list. Could you tell me if we can rename it with the deprecation cycle? |
can you please take a look when you've time? |
Hey @wing328, thanks for the check. Bumped to the latest. Could you please check? |
@e5l please review the errors when you've time maybe update gradle to 7.x instead which is still supported (not yet EOL) |
Let me try to fix the errors first! It would be nice if we manage to have the latest one :) |
not against using the latest version but we usually test with old versions (not yet EOL) as well to ensure it still works with the auto-generated code |
Sure, let me try to stick with the latest 7.* minor so |
ecf0985
to
042517e
Compare
Force pushed an update to Gradle 7.3. Could you check? |
Some samples are using 6.* API, let me update them |
Fixed, please check it out |
Bump to fix: gradle/gradle#24390 |
what about filing a separate PR just to update Ktor to latest version and we can merge that one first? |
117b89e
to
42d103d
Compare
Sure, done! |
https://app.circleci.com/pipelines/gh/OpenAPITools/openapi-generator/31893 that can be ignored if no one has further feedback, i'll merge it tomorrow (Fri) thanks again for the PR |
No problem! Feel free to add me to the Kotlin reviewers if you need volunteers :) |
Sure, will do. Thanks for joining us 👍 |
I'm totally ok to decommission it but my guess is that there will be users who still prefer it. If that occurs, we can add it back. |
it's named Line 163 in 7f899df
|
technical committee: @stefankoppier
PR checklist
Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.IMPORTANT: Do NOT purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
master
(upcoming7.x.0
minor release - breaking changes with fallbacks),8.0.x
(breaking changes without fallbacks)