Slide 24
Slide 24 text
{
"schema": {
"file": "graphql.schema.json",
"request": {
"url" : "http://--graphql-server--/path-to-schema-json-or-introspection-endpoint",
"method" : "POST",
"postIntrospectionQuery" : true,
"README_options" : "See the 'Options' section at https://github.com/then/then-request",
"options" : {
"headers": {
"user-agent" : "JS GraphQL"
}
}
}
},
"README_endpoints": "A list of GraphQL endpoints that can be queried from '.graphql' files in the IDE",
"endpoints" : [
{
"name": "Default (http://localhost:8080/graphql)",
"url": "http://localhost:8080/graphql",
"options" : {
"headers": {
"user-agent" : "JS GraphQL"
}
}
}
]
}
YAPC::Okinawa 2018 ONNASON 24