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

refactor(appsync): abstract schema stringify to utility functions #10019

Merged
merged 6 commits into from
Aug 27, 2020

Conversation

BryanPan342
Copy link
Contributor

Abstract schema addition to utility functions in private.ts


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@BryanPan342 BryanPan342 added the @aws-cdk/aws-appsync Related to AWS AppSync label Aug 27, 2020
@BryanPan342 BryanPan342 self-assigned this Aug 27, 2020
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Aug 27, 2020
packages/@aws-cdk/aws-appsync/lib/private.ts Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-appsync/lib/private.ts Show resolved Hide resolved
packages/@aws-cdk/aws-appsync/lib/private.ts Outdated Show resolved Hide resolved
packages/@aws-cdk/aws-appsync/lib/private.ts Outdated Show resolved Hide resolved
Comment on lines 28 to 39
/**
* the name for this addition (some additions dont need this [i.e. schema])
*/
readonly name?: string;
/**
* the interface types if this is creating an object type
*/
readonly interfaceTypes?: InterfaceType[];
/**
* the directives for this type
*/
readonly directives?: Directive[];
Copy link
Contributor

Choose a reason for hiding this comment

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

add defaults for the optional properties (if any). this is mainly for posterity

@shivlaks shivlaks added the pr/do-not-merge This PR should not be merged at this time. label Aug 27, 2020
@BryanPan342 BryanPan342 changed the title refactor(appsync): abstract schema stringify to reduce reducer logic refactor(appsync): abstract schema stringify to utility functions Aug 27, 2020
@BryanPan342 BryanPan342 removed the pr/do-not-merge This PR should not be merged at this time. label Aug 27, 2020
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: b7f32fd
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Aug 27, 2020

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).

@mergify mergify bot merged commit ad7465d into aws:master Aug 27, 2020
@BryanPan342 BryanPan342 deleted the refactor-stringify branch September 8, 2020 18:36
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 contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants