-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat(appsync): support enumeration types for code-first approach #10023
Conversation
…ic into one function
…ws-cdk into refactor-stringify
…asing" This reverts commit f3c77e3.
[NOTE] A discussion was had offline discussing the aws-cdk/packages/@aws-cdk/aws-appsync/lib/schema-base.ts Lines 166 to 169 in 5861f07
Some of the concerns that were brought to light in this PR was that causing a synth error is bad for the user because users could easily get punished for using the a weakly-typed API. We ultimately decided to continue with the
|
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 CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
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). |
Support
Enum Types
for code-first approach.Enum Types
are special types of Intermediate Types in CDK.Desired GraphQL Enum
The above GraphQL Enumeration Type can be expressed in CDK as the following:
CDK Code
Discussion on the addField API can be found here.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license