hello_graphql_phoenix
hello_graphql_phoenix copied to clipboard
Add helpful comments to GraphiQL queries
See the example here # Welcome to GraphQL Elixir....
http://graphql-swapi.parseapp.com/
Done, but could also configure a set of helpful example queries in plug config. Something like:
forward "/api", GraphQL.Plug, schema: {Schema, :schema}, example: """
query A { greeting }
# fragment ...
"""