日期:2019-06-18 阅读:2149
dmandwp系统 - wordpress系统和DM系统区块建站>>
https://dri.es/headless-cms-rest-vs-jsonapi-vs-graphql
Based on this analysis, for Drupal core's needs, we rank JSON:API above GraphQL and GraphQL above REST. As such, I want to change my recommendation for Drupal 8 core. Instead of adding both JSON:API and GraphQL to Drupal 8 core, I believe only JSON:API should be added. That said, Drupal's GraphQL implementation is fantastic, especially when you have the developer capacity to build a bespoke API for your project.
从上面文章综合比较,Dries认为jsonapi 胜于 GraphQL, 而GarphQL又胜于REST
drupal从8.7版本开始,core里用了jsonapi。