Skip to content

AppSync

How I built a social network in 4 weeks with GraphQL and serverless

  • Post author:theburningmonk
  • Post published:November 17, 2020
  • Post category:AppSync / GraphQL
  • Post comments:0 Comments

I have been involved with a client project to help the client launch a new social network for university students to engage with each other to do sports. Amongst other…

Continue Reading How I built a social network in 4 weeks with GraphQL and serverless

How to sample AppSync resolver logs

  • Post author:theburningmonk
  • Post published:October 26, 2020
  • Post category:AppSync / How-to / Observability

AppSync has built-in logging integration with CloudWatch Logs (see here for more details on the logging options). You can set the Field resolver log level to NONE, ERROR or ALL. When the field resolver log level is…

Continue Reading How to sample AppSync resolver logs

AppSync: How to set up custom domain names

  • Post author:theburningmonk
  • Post published:October 26, 2020
  • Post category:API Gateway / AppSync / How-to

I previously wrote about five reasons you should consider AppSync over API Gateway. One thing that API Gateway supports but you can’t do with AppSync out-of-the-box yet is custom domain names.…

Continue Reading AppSync: How to set up custom domain names

AppSync: How to model hierarchical access with GraphQL

  • Post author:theburningmonk
  • Post published:October 26, 2020
  • Post category:AppSync / GraphQL / How-to

I have been working with a US client to build a first-of-its-kind app for managing medical consents. It falls under HIPAA compliance and it’s paramount that we do not allow…

Continue Reading AppSync: How to model hierarchical access with GraphQL

Five reasons you should consider AppSync over API Gateway

  • Post author:theburningmonk
  • Post published:October 26, 2020
  • Post category:API Gateway / AppSync

Are you unsure if you should use AppSync or API Gateway for your new project? Since its inception in 2015, GraphQL has enjoyed a meteoric rise in popularity and a…

Continue Reading Five reasons you should consider AppSync over API Gateway

How to compare strings lexicographically in VTL

  • Post author:theburningmonk
  • Post published:October 26, 2020
  • Post category:AppSync / How-to / VTL

I had been working on a client project where I built the GraphQL backend for a new social network using primarily AppSync, Lambda and DynamoDB. One of the features of…

Continue Reading How to compare strings lexicographically in VTL

How to error on DynamoDB conditional check failures

  • Post author:theburningmonk
  • Post published:October 26, 2020
  • Post category:AppSync / How-to

TL;DR To make an AppSync DynamoDB resolver throw exceptions on conditional check errors, we need to check $context.error in the response mapping template ourselves. Like this: #if ( $ctx.error ) #if (…

Continue Reading How to error on DynamoDB conditional check failures

How to skip nullable nested resolvers by returning early

  • Post author:theburningmonk
  • Post published:October 26, 2020
  • Post category:AppSync / How-to

Whilst working on a client project, I ran into an interesting problem with AppSync which I couldn’t find an answer after a lot of googling. I hope this article can…

Continue Reading How to skip nullable nested resolvers by returning early

Recent Posts

  • How I built a social network in 4 weeks with GraphQL and serverless
  • How to sample AppSync resolver logs
  • AppSync: How to set up custom domain names
  • AppSync: How to model hierarchical access with GraphQL
  • Five reasons you should consider AppSync over API Gateway

Recent Comments

    Close Menu