marqant-lab/graphql-custom-scalars
Composer 安装命令:
composer require marqant-lab/graphql-custom-scalars
包简介
Package with GraphQL custom Scalar types.
README 文档
README
Description
This package contains GraphQL custom Scalar types.
Available types:
- DateTime: format the date as ISO8601.
Installation
Require the package through composer.
composer require marqant-lab/graphql-custom-scalars
After this you need to import graphql schema.
For this add next row to your graphql/schema.graphql or graphql/modules.graphql:
#import ../vendor/marqant-lab/graphql-custom-scalars/graphql/*.graphql
Tests
If you need tests for this package into your project you can add to your phpunit.xml:
<testsuite name="MarqantGraphQLDateTimeScalar"> <directory suffix="Test.php">./vendor/marqant-lab/graphql-custom-scalars/tests</directory> </testsuite>
统计信息
- 总下载量: 321
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-21