protected function BufferedFieldTest::setUp in GraphQL 8.4
Overrides GraphQLTestBase::setUp
File
- tests/
src/ Kernel/ Framework/ BufferedFieldTest.php, line 20
Class
- BufferedFieldTest
- Test batched field resolving.
Namespace
Drupal\Tests\graphql\Kernel\FrameworkCode
protected function setUp() : void {
parent::setUp();
$schema = <<<GQL
schema {
query: Query
}
type Query {
users(uids: [String]): [User]
}
type User {
name: String
friends: [User]
foe: User
}
GQL;
$this
->setUpSchema($schema);
}