graphdoc icon indicating copy to clipboard operation
graphdoc copied to clipboard

Remove 'INPUT OBJECTS' and 'DIRECTIVES' category

Open LaiNguyen opened this issue 8 years ago • 3 comments

Is there anyway for me to customize the output which will exclude 'INPUT OBJECTS' and 'DIRECTIVES' category?

LaiNguyen avatar Nov 14 '17 18:11 LaiNguyen

@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.

OlivierCuyp avatar Sep 07 '18 14:09 OlivierCuyp

How did you go with figuring this one out ? How does one remove complete sections from the output ?

ghost avatar Oct 29 '18 03:10 ghost

You can use the following plugins graphdoc-plugin-flexible and graphdoc-plugin-erase to easily achieved a configurable output.

gmullerb avatar Jun 01 '21 17:06 gmullerb