Skip to content
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

Hotswap + AppSync: Support for Hotswapping AppSync Resolvers and Functions with Code instead of VTL templates #24111

Open
2 tasks
alharris-at opened this issue Feb 10, 2023 · 1 comment
Labels
@aws-cdk/aws-appsync Related to AWS AppSync feature-request A feature should be added or improved. p3

Comments

@alharris-at
Copy link

alharris-at commented Feb 10, 2023

Describe the feature

In 2022, AppSync launched support for Code-based resolvers, initially supporting Javascript runtimes. https://docs.aws.amazon.com/appsync/latest/devguide/resolver-reference-overview-js.html. It looks like Code-based resolvers don't work with Hotswap, which we'd like to enable for easier iteration by customers.

Use Case

I'd love to have a more fluid iteration experience while working on the business logic for my AppSync APIs.

Proposed Solution

Add 'RUNTIME' and 'CODE' to hotswap capable parameters for AppSync Resolvers and Functions.

Draft PR (which hardcodes the runtime while I was testing) is here fa43af1 though we'll need to figure out why it complains about the 'runtime' input being invalid, and add tests.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.64.0

Environment details (OS name and version, etc.)

osx 13.2

@alharris-at alharris-at added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Feb 10, 2023
@github-actions github-actions bot added the @aws-cdk/aws-appsync Related to AWS AppSync label Feb 10, 2023
@pahud pahud added p2 and removed needs-triage This issue or PR still needs to be triaged. labels Feb 16, 2023
@HenrikFricke
Copy link

I'd love to see that feature 🙏

@pahud pahud added p3 and removed p2 labels Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-appsync Related to AWS AppSync feature-request A feature should be added or improved. p3
Projects
None yet
Development

No branches or pull requests

3 participants