简体   繁体   English

@apollo/federation package 的替代品

[英]Alternatives to @apollo/federation package

We're working on typescript microservices with REST APIs.我们正在使用 REST 个 API 开发 typescript 个微服务。 We consider to implement GraphQL on each microservice add an API Gateway on the top level, so it will be just a single API. At the moment we're just learning about what's possible to do, we have no knowledge about GraphQL servers.我们考虑在每个微服务上实现 GraphQL,在顶层添加一个 API 网关,因此它只是一个 API。目前我们只是了解可以做什么,我们对 GraphQL 服务器一无所知。

We read that schema stitching is deprecated, and we're more interested in schema federation.我们读到模式拼接已被弃用,我们对模式联合更感兴趣。

Is there any alternatives Apollo federation?阿波罗联邦有没有其他选择?

Does the type-graphql package offers the same functionnality? type-graphql package 是否提供相同的功能?

EDIT 1编辑 1

We don't want a cloud solution, we're building our own servers我们不需要云解决方案,我们正在构建自己的服务器

We're looking for a low-level API (prefered, not required)我们正在寻找一个低级别的 API(首选,不是必需的)

I would recommend you check this .我建议您检查一下 While Schema Stitching fell into deprecation limbo for a few years, its new maintainers have brought it back in a big way, and it feels like it's breaking new ground into a post-extends era of GraphQL gateway design.虽然 Schema Stitching 在几年内陷入了弃用的困境,但它的新维护者在很大程度上将它带回来了,感觉它正在为 GraphQL 网关设计的后扩展时代开辟新天地。

Hasura io may work for your team, instant GraphQL for all your data. Hasura io 可能适用于您的团队,即时 GraphQL 适用于您的所有数据。

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

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