oxid-esales / graphql-catalogue
v1.0.0
2020-10-30 11:15 UTC
Requires
- php: ^7.1
- doctrine/dbal: ^v2.7
- oxid-esales/graphql-base: ^5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16.1
- oxid-esales/oxideshop-ce: ^6.5
- oxid-esales/oxideshop-unified-namespace-generator: ^2.0
- php-parallel-lint/php-parallel-lint: ^1.1
- phpstan/phpstan: ^0.12.26
- phpunit/phpunit: ^7.5.20|^8.5|^9
- sensiolabs-de/deptrac-shim: ^0.6.0|^0.8.2
- dev-master
- v1.0.0
- v0.1.0
- dev-master-ci-OXDEV-4225
- dev-test_base_codeception_config
- dev-master-fix_categories_sorting-OXDEV-3714
- dev-SPIKE_types_authorize_fields-OXDEV-3548
- dev-SPIKE_interface_authorize_fields-OXDEV-3548
- dev-SPIKE_union_authorize_fields-OXDEV-3548
- dev-SPIKE_annotation_authorize_fields_with_error-OXDEV-3548
- dev-SPIKE_annotation_authorize_fields_without_error-OXDEV-3548
- dev-SPIKE_how_to_authorize_fields-OXDEV-3548
- dev-master-query-wished-prices-OXDEV-3504
- dev-OXDEV-3367-schema-docs-generator-spike
This package is auto-updated.
Last update: 2020-12-15 09:08:13 UTC
README
此模块提供了GraphQL查询和变异,允许访问目录视图,用于OXID eShop。
此模块已不再维护。查看新模块,该模块具有此模块的所有功能并更多:https://github.com/OXID-eSales/graphql-storefront-module
使用方法
这假设您已经安装并运行了OXID eShop(至少是oxid-esales/oxideshop_ce: v6.5.0
组件,该组件是v6.2.0
编译的一部分)。
安装
$ composer require oxid-esales/graphql-catalogue --no-update $ composer update
如果您尚未安装oxid-esales/graphql-base
模块,Composer将为您完成。
在需要模块后,您需要通过OXID eShop管理员或CLI激活它。
$ ./bin/oe-console oe:module:activate oe_graphql_base $ ./bin/oe-console oe:module:activate oe_graphql_catalogue
如何使用
一个好的起点是查看GraphQL Base Module中的使用部分
测试
代码风格检查、语法检查、静态分析和单元测试
$ composer test
集成/验收测试
- 将此模块安装到正在运行的OXID eShop中
- 更改
test_config.yml
- 将
oe/graphql-catalogue
添加到partial_module_paths
- 将
activate_all_modules
设置为true
- 将
$ ./vendor/bin/runtests
贡献
您想贡献?🙌 太棒了 🙌
去查看贡献指南
构建工具
许可协议
GPLv3,请参阅LICENSE文件。