Jan 10, 2020 Update: Check out UB PWA Mega Menu v1.1.8, packed with a newly added service layer -- MegaMenuGraphQL that helps you build flexible mega menus on top of Magento PWA Studio. View details here.
The new GraphQL API turns out to be one of the major moves in Magento 2.3, as written in our first blog post. Originally, GraphQL is a query language developed internally by Facebook in 2012 and has introduced a new era in web development since it was publicly released in 2015.
Let’s explore the advantages of using GraphQL API over REST API and the current state of GraphQL API in Magento 2.
Why GraphQL API?
As you might know, GraphQL has become the main API to support PWA Studio functionality and other custom storefronts. Magento introduced a layer of GraphQL endpoints as a communication protocol with PWA based storefront since Magento 2.3.0. There are still some gaps in GraphQL API coverage (not 100% of the functionalities available in Magento 2 are fully prepared), however its capabilities have increased with each release cycle of Magento. Continue reading