MyGit

v1.4

youshido-php/GraphQL

版本发布时间: 2016-11-09 11:06:30

youshido-php/GraphQL最新发布版本:v1.7.0(2019-12-05 19:44:18)

This release doesn't break backward compatibility.

Completely revamped Processor, which now has the proper behaviour for nested structure including:

All closed issues are covered with relevant unit tests.

Important Notice Enum default value has to be set using the value, not the name part.

So the proper use would be:

'status' => [
    'type' => new EnumType([
        'name'   => 'Statue',
        'values' => [
            [
                'name'  => 'ACTIVE',
                'value' => 1
            ],
            [
                'name'  => 'DELETED',
                'value' => 2
            ]
        ]
    ]),
    'defaultValue' => 1
],

相关地址:原始地址 下载(tar) 下载(zip)

查看:2016-11-09发行的版本