Graphql doc fix
This commit is contained in:
parent
773145d87b
commit
51b4a76bd8
|
@ -86,7 +86,7 @@ need, but the key methods map directly to their configuration counterparts:
|
||||||
$myQuery = Query::create('readCountries', '[Country]')
|
$myQuery = Query::create('readCountries', '[Country]')
|
||||||
->addArg('limit', 'Int');
|
->addArg('limit', 'Int');
|
||||||
|
|
||||||
$myModel = ModelType::create(MyDataObject::class)
|
$myModel = $schema->createModel(MyDataObject::class)
|
||||||
->addAllFields()
|
->addAllFields()
|
||||||
->addAllOperations();
|
->addAllOperations();
|
||||||
$schema->addModel($myModel);
|
$schema->addModel($myModel);
|
||||||
|
|
Loading…
Reference in New Issue