From c36c04456e852f4631a83ad0935816c048d0b04a Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Thu, 18 Aug 2022 19:45:55 +0200 Subject: [PATCH] Additional codegen speedup Comment out #ModelAttributeJsonTag from #ModelAttribute to gain additional 8s (4s now) --- codegen/schema/model.cue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/codegen/schema/model.cue b/codegen/schema/model.cue index 6b52e13dd..49b0d4818 100644 --- a/codegen/schema/model.cue +++ b/codegen/schema/model.cue @@ -37,7 +37,9 @@ import ( primaryKey: bool | *false ignoreCase: bool | *false - #ModelAttributeJsonTag + // currently disabled since not used by anything + // it adds more than 4x overhead to the time it takes to generate the store code! + // #ModelAttributeJsonTag } IdField: {