阅读(2548) (0)

Micronaut 特性

2023-02-23 13:57:28 更新

功能包括额外的依赖项和配置,以在您的应用程序中启用特定功能。 Micronaut 配置文件定义了大量功能,包括 Micronaut 提供的许多配置的功能,例如数据访问配置

$ mn create-app my-demo-app --features mongo-reactive

这会在您的应用程序中为 MongoDB Reactive Driver 添加必要的依赖项和配置。您可以使用 --list-features 标志查看您使用的任何创建命令的可用功能。

$ mn create-app --list-features # Output will be supported features for the create-app command
$ mn create-function-app --list-features # Output will be supported features for the create-function-app command, different from above.