-
Notifications
You must be signed in to change notification settings - Fork 4k
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
AmplifyGraphqlApi: latest release for creating a resolver not working (detailed below) #27514
Comments
Hey @weisisheng , 👋 thanks for raising this! I'm going to transfer this over to our API repository for better assistance 🙂. Please follow aws-amplify/amplify-category-api#1947 issue for future updates. |
@weisisheng - I'm updating the blog post to be more explicit. We depend on the aws-appsync package. So please include these import statements from AppSync:
|
Updated the blog post with the comment above! |
|
Well done. Thank you! |
Describe the bug
Example found here missing something--https://aws.amazon.com/blogs/mobile/announcing-aws-amplifys-graphql-api-cdk-construct-deploy-real-time-graphql-api-and-data-stack-on-aws/
version: 2.100.0
In the backend stack, amplifyApi.addResolver is not identifying the following:
"Code.fromAsset"
and
"FunctionRuntime"
Reviewing the docs, this seems to be a new feature.
Expected Behavior
Resolver is deployed correctly.
Current Behavior
IDE shows errors, "can not find foo" for the two items
Reproduction Steps
Work thru the example given on the blog.
Possible Solution
Need another module imported?
Additional Information/Context
Appreciate any tips, tricks...
CDK CLI Version
2.100.0
Framework Version
0.00.00
Node.js Version
v18.17.1
OS
Ubuntu 23.04
Language
TypeScript
Language Version
Node.js
Other information
N/A
The text was updated successfully, but these errors were encountered: