graphql-modules 企业级别的graphql server 工具

graphql-modules 是一个新开源的graphql 工具,是基于apollo server 2.0 的扩展库,该团队
认为开发应该是模块化的。
几张来自官方团队的架构图可以参考,方便比较

apollo server 的开发模型



从上图看出,一般的graphql 简单功能我们都是可以很方便的实现的,但是较复杂的应该就。。。

来自graphql-modules的实践

说明

模块化,方便扩展,很不错的开源扩展方案,后边会写一些简单的demo,方便学习。

参考资料

https://graphql-modules.com/
https://medium.com/the-guild/graphql-modules-feature-based-graphql-modules-at-scale-2d7b2b0da6da

猜你喜欢

转载自www.cnblogs.com/rongfengliang/p/9940489.html