@itleadopencommerce/api-plugin-products
v0.1.4
Published
Products plugin for the Reaction API
Downloads
5
Keywords
Readme
api-plugin-products
Summary
Products plugin for the Reaction API
Developer Certificate of Origin
We use the Developer Certificate of Origin (DCO) in lieu of a Contributor License Agreement for all contributions to Reaction Commerce open source projects. We request that contributors agree to the terms of the DCO and indicate that agreement by signing all commits made to Reaction Commerce projects by adding a line with your name and email address to every Git commit message contributed:
Signed-off-by: Jane Doe <[email protected]>
You can sign your commit automatically with Git by using git commit -s
if you have your user.name
and user.email
set as part of your Git configuration.
We ask that you use your real name (please no anonymous contributions or pseudonyms). By signing your commit you are certifying that you have the right have the right to submit it under the open source license used by that particular Reaction Commerce project. You must use your real name (no pseudonyms or anonymous contributions are allowed.)
We use the Probot DCO GitHub app to check for DCO signoffs of every commit.
If you forget to sign your commits, the DCO bot will remind you and give you detailed instructions for how to amend your commits to add a signature.
License
This Reaction plugin is GNU GPLv3 Licensed
Change log
v0.1.4
Summary
Fix encode / decode namespaces errors
v0.1.3
Summary
Set default fields for query -> variants() and products() "Filter by archived" isArchived: Boolean = false
"Filter by visibility" isVisible: Boolean = true
v0.1.2
Summary
type ProductVariant -> product can return null.
PS Temporary. Need to fix test data
v0.1.1
Deprecated
product()
->- rm permission verification to read data
- shopId is not required anymore
products()
->- rm permission verification to read data
- shopId is not required anymore
new methods
variant()
-> get variant by variant idvariants()
-> get variants with pagination by search queryencodeVariantOpaqueId()
/decodeVariantOpaqueId()
methods for variantId
graphQl schema changes
productId
-> return main product id for the variantproduct
-> return main product data for the variant- split schemas to
product.graphql
andvariant.graphql