Skip to content

feat(cli): hotswap for appsync vtl mapping template changes #18881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 14, 2022

Conversation

adamdotdevin
Copy link
Contributor

I do a lot of updating VTL mapping templates for my AppSync API throughout the day, and I'd love to have those changes hot swapped through the SDK for faster feedback loops.

This PR handles changes to RequestMappingTemplate and ResponseMappingTemplate for both resolvers (AWS::AppSync::Resolver) and functions (AWS::AppSync::FunctionConfiguration).


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Feb 8, 2022

Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not often that an Internet celebrity submits a Pull Request to your project, and even rarer when the celebrity writes such excellent code! 😉

This is a great contribution that I'm sure a lot of AppSync users will really appreciate. I have a few comments, but they're relatively minor.

Thanks for your work on this @adamelmore!

@adamdotdevin
Copy link
Contributor Author

I got a good chuckle out of "internet celebrity" and "excellent code" 😅.

Thanks for this, Adam, I'll hop on these changes early AM tomorrow!

@mergify mergify bot dismissed skinny85’s stale review February 10, 2022 02:36

Pull request has been modified.

@adamdotdevin
Copy link
Contributor Author

Alright @skinny85, I've made the requested changes, I think! Things shifted quite a bit (hopefully for the better), so hit me with another round when you have the time!

@adamdotdevin adamdotdevin force-pushed the adamelmore/hotswap-appsync branch from 9579931 to 1fcc06c Compare February 10, 2022 12:22
Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great @adamelmore, much shorter than the separate version!

I have a few last comments, but they're all minor, and in the next iteration we'll merge this in!

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@mergify mergify bot dismissed skinny85’s stale review February 11, 2022 01:58

Pull request has been modified.

@adamdotdevin
Copy link
Contributor Author

Alright, ready for your 👀 again @skinny85!

Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @adamelmore, thanks for the contribution!

@mergify
Copy link
Contributor

mergify bot commented Feb 14, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 3b68cdc
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 9858002 into aws:master Feb 14, 2022
@mergify
Copy link
Contributor

mergify bot commented Feb 14, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
I do a lot of updating VTL mapping templates for my AppSync API throughout the day, and I'd love to have those changes hot swapped through the SDK for faster feedback loops.

This PR handles changes to `RequestMappingTemplate` and `ResponseMappingTemplate` for both resolvers (`AWS::AppSync::Resolver`) and functions (`AWS::AppSync::FunctionConfiguration`).

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package/tools Related to AWS CDK Tools or CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants