Skip to content

Commit

Permalink
fix Method.Method.X codegen import bug (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
worstell authored Nov 3, 2023
1 parent 07049ba commit 0694253
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class ModuleGenerator() {
metadata.ingress?.let {
verbFunBuilder.addAnnotation(
AnnotationSpec.builder(Ingress::class)
.addMember("%T", ClassName("xyz.block.ftl.Method", it.method))
.addMember("%T", ClassName("xyz.block.ftl.Method", it.method.replaceBefore(".", "")))
.addMember("%S", it.path)
.build()
)
Expand Down

0 comments on commit 0694253

Please sign in to comment.