From 5d725b6996f86e99e180cca2923a9a7f3f4547d2 Mon Sep 17 00:00:00 2001 From: David Gaspar Date: Sat, 12 Oct 2024 01:56:37 -0300 Subject: [PATCH] refactor: Update component reference in bff.go.tpl --- templates/files/bff.go.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/files/bff.go.tpl b/templates/files/bff.go.tpl index 0956d09..4a55fb4 100644 --- a/templates/files/bff.go.tpl +++ b/templates/files/bff.go.tpl @@ -12,7 +12,7 @@ import ( type implBFF struct { weaver.Implements[weaver.Main] - example weaver.Ref[app.Component] + example weaver.Ref[{{.ComponentName}}.Component] bff weaver.Listener `weaver:"bff"` f *fiber.App