GraphQL\Tests\Validator\UniqueInputFieldNamesTest::testAllowsForNestedInputObjectsWithSimilarFields PHP Метод

testAllowsForNestedInputObjectsWithSimilarFields() публичный Метод

    public function testAllowsForNestedInputObjectsWithSimilarFields()
    {
        $this->expectPassesRule(new UniqueInputFieldNames(), '
      {
        field(arg: {
          deep: {
            deep: {
              id: 1
            }
            id: 1
          }
          id: 1
        })
      }
        ');
    }