Tests
This commit is contained in:
parent
f07b8ca296
commit
63fa19b73a
|
@ -41,7 +41,16 @@ $utopia->post('/v1/graphql')
|
||||||
->desc('GraphQL Endpoint')
|
->desc('GraphQL Endpoint')
|
||||||
->label('scope', 'public')
|
->label('scope', 'public')
|
||||||
->action(
|
->action(
|
||||||
function () use ($request, $response) {
|
function () use ($request, $response, $utopia) {
|
||||||
|
|
||||||
|
foreach ($utopia->getRoutes() as $method => $routes) {
|
||||||
|
var_dump($method);
|
||||||
|
|
||||||
|
foreach ($routes as $key => $route) {
|
||||||
|
var_dump($key);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$userType = new ObjectType([
|
$userType = new ObjectType([
|
||||||
'name' => 'User',
|
'name' => 'User',
|
||||||
'fields' => [
|
'fields' => [
|
||||||
|
|
Loading…
Reference in a new issue