Document a GraphQL API

It looks like there is now https://www.npmjs.com/package/graphql-docs Dynamically generated documentation explorer for GraphQL schemas. It aims to provide a better overview of a schema than GraphiQL, but without querying features. You can also generate a static documentation file based on a schema file or GraphQL endpoint: npm install -g graphql-docs graphql-docs-gen http://GRAPHQL_ENDPOINT documentation.html

GraphQL Expected Iterable, but did not find one for field xxx.yyy

I ran into this problem as well. It appears that what you’re returning from your resolver doesn’t match the return type in your schema. Specifically for the error message Expected Iterable, but did not find one for field library.user., your schema expects an array(Iterable) but you aren’t returning an array in your resolver I had … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)