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 56f767c commit 1a1fcbcCopy full SHA for 1a1fcbc
index.js
@@ -142,6 +142,8 @@ function constraintDirectiveDocumentation (options) {
142
if (key === 'uniqueTypeName') return
143
fieldConfig.description += `* ${DESCRIPTINS_MAP[key] ? DESCRIPTINS_MAP[key] : key}: \`${value}\`\n`
144
})
145
+
146
+ if (fieldConfig.astNode?.description) { fieldConfig.astNode.description.value = fieldConfig.description }
147
}
148
149
return (schema) =>
0 commit comments