简体   繁体   English

在没有 GraphQL 的情况下使用 AWS Amplify DataStore?

[英]Use AWS Amplify DataStore without GraphQL?

Is it possible to use AWS Amplify DataStore without GraphQL?是否可以在没有 GraphQL 的情况下使用 AWS Amplify DataStore? I tried looking at the documentation and it has operations like save, query, etc only in GraphQL.我尝试查看文档,它仅在 GraphQL 中具有保存、查询等操作。

https://aws-amplify.github.io/docs/js/datastore https://aws-amplify.github.io/docs/js/datastore

Not currently but GraphQL is just the implementation medium as it gives advantages around the transport as well as type inference for performing conflict resolution and sync.目前不是,但 GraphQL 只是实现媒介,因为它在传输方面提供了优势,以及执行冲突解决和同步的类型推断。 Without it you would need a proprietary way at the network layer to convey the same information.没有它,您将需要在网络层采用专有方式来传达相同的信息。 Is there a reason or use case you're looking to not use GraphQL?您是否有不使用 GraphQL 的原因或用例?

我不知道 1 月份的DataStore是什么样子,但当前的文档没有显示任何用于查询/保存对象的 graphql。

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

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