diff --git a/forward_engineering/modules/avsc/lib/types.js b/forward_engineering/modules/avsc/lib/types.js index 754a22f..9edb381 100644 --- a/forward_engineering/modules/avsc/lib/types.js +++ b/forward_engineering/modules/avsc/lib/types.js @@ -174,9 +174,9 @@ Type.forSchema = function (schema, opts) { // reference. return opts.registry[schema] = Type.forSchema({type: schema}, opts); } - Type.addError(new Error(f('undefined type name: %s', schema))); + // Type.addError(new Error(f('undefined type name: %s', schema))); - return ''; + return schema; } if (schema.logicalType && opts.logicalTypes && !LOGICAL_TYPE) {