From 7faccfcc4894c6da4cb88c001b7dd0e73613cca1 Mon Sep 17 00:00:00 2001 From: David Arayan Date: Wed, 22 Nov 2023 12:00:09 +1100 Subject: [PATCH] - Ensure schema overrides type() --- sdk-core/src/generator/generators/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk-core/src/generator/generators/schema.ts b/sdk-core/src/generator/generators/schema.ts index 77af138..7ced7fc 100644 --- a/sdk-core/src/generator/generators/schema.ts +++ b/sdk-core/src/generator/generators/schema.ts @@ -66,7 +66,7 @@ export class Schema { // GENERATE: the main class output += `export class ${className} extends CoreObject<${interfaceName}> {\n`; - output += '\tpublic static get type():string {\n'; + output += '\tpublic static override get type():string {\n'; output += `\t\treturn '${schemaInstance.apiType}';\n`; output += '\t}\n'; output += `\tpublic static query(service?:Service): ${queryName}Static {\n`;