DEV Community

loading...

Discussion on: Direct Lambda Resolvers with AWS Amplify and AppSync

Collapse
nxtra profile image
Nxtra

Is there any risk in breaking this when you regenerate code or add other resources with Amplify? Or once you've done this it's stable?

Collapse
andthensumm profile image
Matt Marks 🐣 Author • Edited

As long as you keep the code in the CustomResources file (or another custom stack) and you make sure to remove the @directive, you’re good.

These days I mostly use amplify for its api/auth/appsync integration and the cli for generating as much code as possible because I’m lazy ;)

Collapse
nxtra profile image
Nxtra

Awesome, thanks!