In v0.10.5, there’s a new `AppSyncApi` construct. ...
# general
f
In v0.10.5, there’s a new 
AppSyncApi
 construct. You can create an AWS AppSync GraphQL API like this:
Copy code
new AppSyncApi(this, "GraphqlApi", {
  graphqlApi: {
    schema: "graphql/schema.graphql",
  },
  resolvers: {
    "Query    listNotes": "src/list.main",
    "Query    getNoteById": "src/get.main",
    "Mutation createNote": "src/create.main",
    "Mutation updateNote": "src/update.main",
    "Mutation deleteNote": "src/delete.main",
  },
});
More examples here https://docs.serverless-stack.com/constructs/AppSyncApi#examples Big thanks to @Sione @p0wl @Mike McCall and @deini for helping me putting this together! Let me know what other constructs you’d like to see!
m
This is very impressive, Frank!
f
Thanks Matthew! There were quite a few patterns how ppl use AppSync. Took some work to put this together 😆