Describe the bug
Input types are not generated correctly with Plugin JSDoc. Instead of a type definition it just prints [object Object].
To Reproduce
Steps to reproduce the behavior:
input DemoInput {
test: String!
}
codegen.yml config file:generates:
schema.js:
plugins:
- jsdoc
///schema.js
[object Object]
Expected behavior
///schema.js
/**
* @typedef {Object} DemoInput
* @property {String} test
*/
Environment:
Used: https://graphql-code-generator.com/
@graphql-codegen/...: Additional context
Could you create a reproduction using the template below?
https://codesandbox.io/s/github/dotansimha/graphql-code-generator-issue-sandbox-template
@ardatan Done: https://codesandbox.io/s/distracted-curie-m8cr0?file=/schema.js
See schema.js for wrong output.
@dotansimha pretty sure this can be closed 鉁岋笍
Most helpful comment
@dotansimha pretty sure this can be closed 鉁岋笍