Skip to content

Conversation

@MrArnoldPalmer
Copy link
Contributor

@MrArnoldPalmer MrArnoldPalmer commented Jan 4, 2023

Adds support for resolvers using the APPSYNC_JS runtime. Adds new props
for specifying Code and Runtime on both Resolver and Function
constructs. Adds Code class with asset support for local files and
inline code.

Adds integ test covering basic JS function/resolver usage.

Fix: #22921

@gitpod-io
Copy link

gitpod-io bot commented Jan 4, 2023

@aws-cdk-automation aws-cdk-automation requested a review from a team January 4, 2023 00:53
@github-actions github-actions bot added the p2 label Jan 4, 2023
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jan 4, 2023
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

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

The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.

@MrArnoldPalmer MrArnoldPalmer force-pushed the feat/appsync-js-resolvers branch from 07f7057 to 94ca302 Compare January 4, 2023 20:43
Adds support for resolvers using the APPSYNC_JS runtime. Adds new props
for specifying `Code` and `Runtime` on both `Resolver` and `Function`
constructs. Adds `Code` class with asset support for local files and
inline code.

Adds integ test covering basic JS function/resolver usage.
@MrArnoldPalmer MrArnoldPalmer force-pushed the feat/appsync-js-resolvers branch from 94ca302 to 6578944 Compare January 4, 2023 20:52
@aws-cdk-automation aws-cdk-automation dismissed their stale review January 4, 2023 20:54

✅ Updated pull request passes all PRLinter validations. Dissmissing previous PRLinter review.

@MrArnoldPalmer MrArnoldPalmer marked this pull request as ready for review January 4, 2023 22:54
Copy link
Contributor

@corymhall corymhall left a comment

Choose a reason for hiding this comment

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

Just a couple of comments

@MrArnoldPalmer MrArnoldPalmer requested review from corymhall and onlybakam and removed request for onlybakam January 5, 2023 21:21
Copy link
Contributor

@onlybakam onlybakam left a comment

Choose a reason for hiding this comment

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

LGTM

@mergify
Copy link
Contributor

mergify bot commented Jan 6, 2023

Thank you for contributing! Your pull request will be updated from main 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: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 529f332
  • 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 2318384 into main Jan 6, 2023
@mergify mergify bot deleted the feat/appsync-js-resolvers branch January 6, 2023 21:02
@mergify
Copy link
Contributor

mergify bot commented Jan 6, 2023

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

@abhi211199
Copy link

Thanks for this feature!
When can we expect the latest version(2.60.0) of aws-appsync-alpha in https://www.npmjs.com/package/@aws-cdk/aws-appsync-alpha package?

@hoegertn
Copy link
Contributor

AppSync was merged to core in 2.60.0 so no alpha package needed anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws-appsync: javascript resolver support

6 participants