Magento GraphQL data models and query builders
This project contains the Magento GraphQL data models and query builders that have been automatically generated based on the Magento GraphQL schema. These classes can be used to build GraphQL requests and to parse/deserialise GraphQL JSON responses into java objects.
The following versioning scheme is used for that maven dependency:
MAJOR.MINOR.PATCH parts refers to the semantic versioning of this maven artifact.
magentoXYZ part refers to the version of the Magento GraphQL API, for example for Magento GraphQL
For example, the first released version of this artifact is
1.0.0-magento230, which means that it uses the GraphQL schema from Magento
2.3.0 and is the first major version of that artifact.
Using the query builders and parsing responses
To use this library in your project, just add the following maven dependency to your project and install the bundle in your AEM instance:
<dependency> <groupId>com.adobe.commerce.cif</groupId> <artifactId>magento-graphql</artifactId> <version>...</version> <scope>provided</scope> </dependency>
Releases to Maven Central
Releases are triggered by manually running
mvn release:prepare release:clean on the
master branch. This automatically pushes a commit with a release git tag like
magento-graphql-x.y.z-magento230 which triggers a dedicated
CircleCI build that performs the deployment of the artifact to Maven Central.
Contributions are welcomed! Read the Contributing Guide for more information.
This project is licensed under the Apache V2 License. See LICENSE for more information.