hello_graphql_phoenix icon indicating copy to clipboard operation
hello_graphql_phoenix copied to clipboard

Add helpful comments to GraphiQL queries

Open joshprice opened this issue 9 years ago • 1 comments

See the example here # Welcome to GraphQL Elixir....

http://graphql-swapi.parseapp.com/

joshprice avatar Jan 25 '16 05:01 joshprice

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

joshprice avatar Feb 14 '16 22:02 joshprice