Skip to content

Commit ff56fd1

Browse files
committed
2nd
1 parent 2f5c59d commit ff56fd1

File tree

2 files changed

+3
-5
lines changed
  • hll/dynamodb-mapper
    • dynamodb-mapper-annotations/common/src/aws/sdk/kotlin/hll/dynamodbmapper
    • dynamodb-mapper-schema-codegen/src/main/kotlin/aws/sdk/kotlin/hll/dynamodbmapper/codegen/annotations/rendering

2 files changed

+3
-5
lines changed

hll/dynamodb-mapper/dynamodb-mapper-annotations/common/src/aws/sdk/kotlin/hll/dynamodbmapper/Annotations.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ public annotation class DynamoDbAttribute(val name: String)
1414
/**
1515
* Specifies that this class/interface describes an item type in a table. All public properties of this type will be mapped to
1616
* attributes unless they are explicitly ignored.
17-
* @param converter A class reference of the item converter to be used for converting this annotated class/interface.
17+
* @param converterName The fully qualified name of the item converter to be used for converting this class/interface.
1818
* If not set, one will be automatically generated.
1919
*/
20+
// FIXME Update to take a KClass<ItemConverter>, which will require splitting codegen modules due to a circular dependency
2021
@Target(AnnotationTarget.CLASS)
21-
// FIXME Update to take a KClass<out ItemConverter<*>> once KSP bug is fixed
22-
// https://github.com/google/ksp/issues/1129
23-
public annotation class DynamoDbItem(val converterName: String)
22+
public annotation class DynamoDbItem(val converterName: String = "")
2423

2524
/**
2625
* Specifies that this property is the primary key for the item. Every top-level [DynamoDbItem] to be used in a table

hll/dynamodb-mapper/dynamodb-mapper-schema-codegen/src/main/kotlin/aws/sdk/kotlin/hll/dynamodbmapper/codegen/annotations/rendering/SchemaRenderer.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import com.google.devtools.ksp.symbol.*
2323
* @param classDeclaration the [KSClassDeclaration] of the class
2424
* @param ctx the [RenderContext] of the renderer
2525
*/
26-
@OptIn(KspExperimental::class)
2726
internal class SchemaRenderer(
2827
private val classDeclaration: KSClassDeclaration,
2928
private val ctx: RenderContext,

0 commit comments

Comments
 (0)