Skip to main content

GraphQL Composer

cp:otoroshi.next.plugins.GraphQLBackend

This plugin exposes a GraphQL API that you can compose with whatever you want

categories:

  • Integrations

default configuration:

{
"schema" : "\n type User {\n name: String!\n firstname: String!\n }\n\n type Query {\n users: [User] @json(data: \"[{ \\\"firstname\\\": \\\"Foo\\\", \\\"name\\\": \\\"Bar\\\" }, { \\\"firstname\\\": \\\"Bar\\\", \\\"name\\\": \\\"Foo\\\" }]\")\n }\n ",
"permissions" : [ ],
"initial_data" : null,
"max_depth" : 15
}