Graphql-ruby setup: Difference between revisions
From wikinotes
(Created page with " = Documentation = <blockquote> {| class="wikitable" |- | execution docs || query_string = "{ ... }" MySchema.execute(query_string) |- |} </blockquote><!-- Documentation -->...") |
|||
Line 4: | Line 4: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| execution docs || | | execution docs || https://graphql-ruby.org/queries/executing_queries.html | ||
|- | |- | ||
|} | |} |
Revision as of 21:34, 5 September 2021
Documentation
execution docs https://graphql-ruby.org/queries/executing_queries.html
Execute Queries
You can test queries without a webserver.
query = "query { projects(id: 1){ name id } }" MySchema.execute(query)