graphdoc
graphdoc copied to clipboard
Remove 'INPUT OBJECTS' and 'DIRECTIVES' category
Is there anyway for me to customize the output which will exclude 'INPUT OBJECTS' and 'DIRECTIVES' category?
@LaiNguyen do you see your custom directives listed ? I don't see mine ... I thought I could get it documented like this:
"Authentication/authorization directive."
directive @auth(
"Minimum role required"
role: Role,
"Specify if ownership overcomes the role"
owner: Boolean,
"The field name of the resource that contains the owner id"
ownerField: String = "userId"
) on FIELD_DEFINITION
But the auth isn't listed under the directive category. I only see deprecated, include & skip.
How did you go with figuring this one out ? How does one remove complete sections from the output ?
You can use the following plugins graphdoc-plugin-flexible and graphdoc-plugin-erase to easily achieved a configurable output.