public function EntityPropertyConflict::testNamingConflict in GraphQL 8.3
Check proper behavior in case of a naming conflict.
File
- modules/
graphql_core/ tests/ src/ Kernel/ Entity/ EntityPropertyConflict.php, line 24
Class
- EntityPropertyConflict
- Test entity property naming conflict resolution.
Namespace
Drupal\Tests\graphql_core\Kernel\EntityCode
public function testNamingConflict() {
$this
->assertGraphQLFields([
[
'Comment',
'entityId',
'String',
],
[
'Comment',
'entityIdOfComment',
'FieldCommentEntityId',
],
]);
}