From the course: Complete Guide to Serverless Web App Development on AWS

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Solution: Integrating the new function in the frontend

Solution: Integrating the new function in the frontend - Amazon Web Services (AWS) Tutorial

From the course: Complete Guide to Serverless Web App Development on AWS

Solution: Integrating the new function in the frontend

(upbeat music) - [Instructor] Let's go through how I solve this challenge. First, what you want to do is to export the schema after you have deploy your infrastructure. So you need to have an updated schema. Make sure that you have the send me feature here. So let's find it in this long list of information. So here we have the mutation. Send feature so this schema is updated so we can export the graph well. And then we can put it into our web app. Let's go back to our web app. Here it is, the web app. And let's replace the existing schema with the one that we just got from the internet. Good. Now it's replaced. You can see here where are the mutations. Send features, so that's updated. Now we can regenerate all the code. So we can run amplify code gen. And this should regenerate all the code for me based on this schema. So if we go to the source GraphQL, the subscriptions, the mutation should have here the send. So let's check the lead, send feature, so that's good. And then in the…

Contents