摘要: Apollo Client is a comprehensive state management library for JavaScript that enables you to manage both local and remote data with GraphQL. Use it to 阅读全文
posted @ 2021-02-25 03:30 Zhentiw 阅读(87) 评论(0) 推荐(0)
摘要: In functions/graphql/index.js file: const { ApolloServer, gql } = require("apollo-server-lambda"); const typeDefs = gql` type Query { todos: [Todo]! } 阅读全文
posted @ 2021-02-25 03:24 Zhentiw 阅读(96) 评论(0) 推荐(0)