Skip to content

Commit

Permalink
fix Method.Method.X codegen import bug
Browse files Browse the repository at this point in the history
  • Loading branch information
worstell committed Nov 3, 2023
1 parent dcb101e commit 0b734a0
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 0b734a0

Please sign in to comment.