Graphqlbundle: Human-readable documentation

Created on 27 Jun 2018  路  7Comments  路  Source: overblog/GraphQLBundle

| Q | A
| ---------------- | -----
| Bug report? | no
| Feature request? | yes
| BC Break report? | no
| RFC? | no
| Version/Branch | x.y.z

Hello,
my proposal is to have a console command to generate HTML output with type definitions, mutations and resolvers linked to eachother. Something similar to graphql:debug but with data like arguments and possibility to move through various nested types etc. quickly.

Why? Easier job for front ends primarily.

Most helpful comment

At job we are using an external Node.js app called graphdoc, which do exactly what you want (it even supports enums!).

The generated documentation is nice (our doc), but it requires to have Node.js and npm installed.

All 7 comments

Hello,
Just by curiosity why GraphiQL documentation does not make the job?

Kind of, but not fully, some useful info like resolvers are missing.

Ok thanks for answer, do you want to submit a PR for that?

Maybe this weekend, I'll see if I have time.

At job we are using an external Node.js app called graphdoc, which do exactly what you want (it even supports enums!).

The generated documentation is nice (our doc), but it requires to have Node.js and npm installed.

Good idea, didn't know that one. Could use that + a plugin for resolvers I guess

Seems that you got a way to solve you issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akomm picture akomm  路  4Comments

Vincz picture Vincz  路  3Comments

tjuenger picture tjuenger  路  3Comments

paoloposo picture paoloposo  路  3Comments

JuanWilde picture JuanWilde  路  4Comments