feat(appsync): support enumeration types for code-first approach#10023
feat(appsync): support enumeration types for code-first approach#10023mergify[bot] merged 39 commits intoaws:masterfrom
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 Typesfor code-first approach.Enum Typesare 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