From a8ff21d2675d3cb0a37723cb89bbc7398ae2d503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Budzy=C5=84ski?= Date: Wed, 18 Dec 2024 14:52:12 +0100 Subject: [PATCH] ref --- pkg/sdk/poc/generator/show_object_methods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sdk/poc/generator/show_object_methods.go b/pkg/sdk/poc/generator/show_object_methods.go index 489f98eb14..3bd857142b 100644 --- a/pkg/sdk/poc/generator/show_object_methods.go +++ b/pkg/sdk/poc/generator/show_object_methods.go @@ -72,7 +72,7 @@ func (s *Operation) withShowObjectMethods(structName string, showObjectMethodsKi } if !hasRequiredFieldsForIDMethod(structName, s.HelperStructs, id) { log.Printf("[WARN]: Struct '%s' does not contain needed fields to build ID() helper method. Create the method manually in _ext file or add missing fields: %v.\n", structName, idTypeParts[id]) - return nil + continue } s.ShowObjectMethods = append(s.ShowObjectMethods, newShowObjectIDMethod(structName, s.HelperStructs, id)) case ShowObjectTypeMethod: