Skip to content

Commit

Permalink
479 Add missing import (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso authored Nov 15, 2023
1 parent 3bb9997 commit 5fe28c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project orients towards [Semantic Versioning](http://semver.org/spec/v2
Note: This project needs KSP to work and every new Ktorfit with an update of the KSP version is technically a breaking change.
But there is no intent to bump the Ktorfit major version for every KSP update.

1.10.1 - 2023-11-15
========================================

### Fixed
- Using @FieldMap generates uncompiled code due to missing import #479

1.10.0 - 2023-11-06
========================================
Compatible with KSP 1.0.14 and Kotlin 1.9.20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ fun KSClassDeclaration.toClassData(logger: KSPLogger): ClassData {
imports.add("io.ktor.client.request.forms.FormDataContent")
imports.add("io.ktor.client.request.forms.MultiPartFormDataContent")
imports.add("io.ktor.client.request.forms.formData")
imports.add("io.ktor.http.Parameters")
}

if (functionDataList.any { it.parameterDataList.any { param -> param.hasAnnotation<RequestType>() } }) {
Expand Down

0 comments on commit 5fe28c4

Please sign in to comment.