Skip to content

Commit

Permalink
- Ensure schema overrides type()
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidArayan committed Nov 22, 2023
1 parent 109c7e1 commit 7faccfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk-core/src/generator/generators/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down

0 comments on commit 7faccfc

Please sign in to comment.