From Magento 2.3 interact with graphQl, In GraphQl get all the product collection of Magento. Getting all the product collection using GraphQl in Magento 2 You need to create a simple module for achieving it.
We need to create a Resolver model and add our custom logic for getting all the Products collection. You can add a custom condition for getting specific Products in Resolver PHP file based on your requirement. We will display all the products in response for now. Continue reading “Get Product collection using Graphql Magento 2.”
Get All CMS pages using GraphQl in Magento 2 by a simple module.
We can get all the CMS Pages collection byGraphQl by just create Resolver model and add our custom logic for getting all the CMS Pages collection. You can add a filter to the condition for getting specific CMS Pages in Resolver PHP file.
I hope you are aware of What is GraphQl and how GraphQL are used for the programming language like Magento 2 If You are new to GraphQL check link for GraphQl in Magento .
Check for fetch CMS Blocks collection using GraphQl query, Get CMS Static block collection in GraphQL Magento 2
Continue reading “Get CMS Pages collection using Graphql Magento 2.”