Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide or Remove certain mutations / queries? #61

Open
cmosboss opened this issue Oct 19, 2018 · 2 comments
Open

Hide or Remove certain mutations / queries? #61

cmosboss opened this issue Oct 19, 2018 · 2 comments

Comments

@cmosboss
Copy link

I have been using this package internally for my documentation for a while now (usually just the static generation of files) and I love it. However I am hoping to make a large portion of my API public, I have already gone through and setup my actual routes to not work for people other than myself, but is it possible to easily flag a schema so that the document generation ignores it?

I basically am looking for a way to ignore either a query, mutation, type / input from being added to the generated docs, I can delete the files but then I have to go and edit every single files nav and remove it there also.

@ghost
Copy link

ghost commented Oct 29, 2018

hey @zocheyado how did you go about removing complete sections from the output ? for example if i wanted to lose a complete section on directives n such ? did you happen to need this customization n how did you achieve it , if so ? thanks.

@gmullerb
Copy link

gmullerb commented Jun 1, 2021

This is a duplicated issue 2.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants