GraphQL\Tests\Type\SchemaValidatorTest::testRejectsASchemaWithAnObjectTypeAsAnInputFieldArg PHP Method

testRejectsASchemaWithAnObjectTypeAsAnInputFieldArg() public method

    public function testRejectsASchemaWithAnObjectTypeAsAnInputFieldArg()
    {
        // rejects a schema with an object type as an input field arg
        $someOutputType = new ObjectType(['name' => 'SomeOutputType', 'fields' => ['f' => ['type' => Type::float()]]]);
        $this->assertRejectingFieldArgOfType($someOutputType);
    }
SchemaValidatorTest