We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9555bae commit d99f209Copy full SHA for d99f209
packages/ts/generator-typescript-plugin-backbone/src/EntityProcessor.ts
@@ -110,17 +110,14 @@ export class EntityProcessor {
110
const decomposed = decomposeSchema(schema);
111
112
if (decomposed.length > 2) {
113
- logger.debug(
114
- schema,
115
- `Schema for '${this.#fullyQualifiedName}' class component has more than 2 decomposed schemas, ignoring.`,
116
- );
+ logger.error(schema, `Schema for '${this.#fullyQualifiedName}' class component is broken.`);
117
return undefined;
118
}
119
120
const [parent, child] = decomposed;
121
122
if (!isReferenceSchema(parent)) {
123
- logger.debug(parent, 'Parent schema is not a reference, ignoring.');
+ logger.error(parent, 'Only reference schema allowed for parent class');
124
125
126
0 commit comments