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.
1 parent 9cc01d5 commit 13f95d2Copy full SHA for 13f95d2
packages/sdk/src/validation.ts
@@ -33,7 +33,7 @@ export function hasValidationAttributes(
33
if (
34
decl.fields.some((field) => {
35
if (isTypeDef(field.type.reference?.ref)) {
36
- return hasValidationAttributes(field.type.reference?.ref);
+ return hasValidationAttributes(field.type.reference?.ref, seen);
37
} else {
38
return field.attributes.some((attr) => isValidationAttribute(attr));
39
}
0 commit comments