简体   繁体   English

如何使用api平台构建GraphQL API?

[英]How to build a GraphQL API with api-platform?

When I entered in api-platform website I saw "REST and GraphQL framework to build modern API-driven projects". 当我进入api平台网站时,我看到了“ REST和GraphQL框架来构建现代的API驱动的项目”。 But I didn't find any documentation which explain how to generate GraphQL API's in api-platform. 但是我没有找到任何文档来解释如何在api平台上生成GraphQL API。 Can anyone confirm me if it's possible and how to do that ? 任何人都可以确认我是否可行以及如何做到这一点?

GraphQL is a pretty new thing in API Platform. GraphQL是API平台中的新事物。 Please have a look at version 2.2. 请查看2.2版。

Here are some useful resources: 以下是一些有用的资源:

As the time goes on I believe there will be more resources on the official docs. 随着时间的流逝,我相信官方文档会提供更多资源。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM