We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1163bd9 + 7bba090 commit 5336a24Copy full SHA for 5336a24
packages/openapi-generator/src/codec.ts
@@ -53,6 +53,10 @@ function codecIdentifier(
53
} else if (id.type === 'MemberExpression') {
54
const object = id.object;
55
if (object.type !== 'Identifier') {
56
+ if (object.type === 'MemberExpression')
57
+ return E.left(
58
+ `Object ${((object as swc.MemberExpression) && { value: String }).value} is deeply nested, which is unsupported`,
59
+ );
60
return E.left(`Unimplemented object type ${object.type}`);
61
}
62
0 commit comments