We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd9f45e commit d7b2030Copy full SHA for d7b2030
1 file changed
codegen/hooks.ts
@@ -190,7 +190,7 @@ function inspectModelForTypeParams(
190
return model.name === prop.type || model.type === prop.type
191
})
192
if (!toInspect) {
193
- throw new Error('Unable to find next model to inspect')
+ throw new Error(`Unable to find next model to inspect for ${prop.type}`)
194
}
195
if (!rootProp && !parentProp) {
196
inspectModelForTypeParams(allModels, rootModel, toInspect, prop)
0 commit comments