Micronaut cli graphql 设置

Micronaut cli graphql setup

是否可以将功能传递给 micronaut cli 以将新应用程序与 graphQL 集成,例如:

mn create-app -f grephql name

目前没有。当前的 GraphQL 支持在 CLI 中没有相应的功能。 https://github.com/micronaut-projects/micronaut-graphql

使用此命令检查 MicrostarterCli that's third-party tool. You can easily generate graphql endpoints in a Micronaut 项目:

mc entity -e <your--entity> --graphql

示例:

mc entity -e fruit --graphql