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

fix(appsync): revert to allow resolver creation from data source #12973

Merged
merged 5 commits into from
Feb 22, 2021

Conversation

BryanPan342
Copy link
Contributor

@BryanPan342 BryanPan342 commented Feb 10, 2021

  • Revert to old behavior of allowing a data source to create a resolver as UNIT resolvers stem from data sources.
  • Maintaining new behavior of having GraphqlApi create resolvers as PIPELINE resolvers stem from the GraphqlApi itself

Fixes #12635
Fixes #11522


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

@gitpod-io
Copy link

gitpod-io bot commented Feb 10, 2021

@BryanPan342
Copy link
Contributor Author

BryanPan342 commented Feb 10, 2021

@p0wl @asnaseer-resilient I thinks it is best to keep both functionality as PIPELINE resolvers should be tied to a GraphqlApi as well

@p0wl
Copy link

p0wl commented Feb 11, 2021

Nice! Thanks!!

@BryanPan342 BryanPan342 changed the title fix: revert to allow resolver creation from data source fix(appsync): revert to allow resolver creation from data source Feb 12, 2021
@github-actions github-actions bot added the @aws-cdk/aws-appsync Related to AWS AppSync label Feb 12, 2021
@p0wl
Copy link

p0wl commented Feb 16, 2021

Anything that I/we can do to get this merged? This is blocking us quite a bit.

@BryanPan342
Copy link
Contributor Author

Anything that I/we can do to get this merged? This is blocking us quite a bit.

I think we are just waiting on a maintainer to accept these changes. @MrArnoldPalmer this seems like a p0 bug so would be nice to have merged into the next release

@MrArnoldPalmer
Copy link
Contributor

Hey @BryanPan342, added a question to the original issue #12635 (comment). Respond here or there, either way.

@MrArnoldPalmer MrArnoldPalmer added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Feb 20, 2021
Copy link
Contributor

@MrArnoldPalmer MrArnoldPalmer left a comment

Choose a reason for hiding this comment

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

💯 ty @BryanPan342 !

@mergify
Copy link
Contributor

mergify bot commented Feb 22, 2021

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-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: d3a5e35
  • 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 Feb 22, 2021

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 d35f032 into aws:master Feb 22, 2021
eladb pushed a commit that referenced this pull request Feb 22, 2021
)

* Revert to old behavior of allowing a data source to create a resolver as UNIT resolvers stem from data sources.
* Maintaining new behavior of having `GraphqlApi` create resolvers as PIPELINE resolvers stem from the `GraphqlApi` itself

Fixes #12635
Fixes #11522

----

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

This is a breaking change. Broke all my revolvers. How do we work around this?

Feeling a little disappointed that:

  • This wasn't documented as a breaking change
  • The documentation is out of date

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 response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Projects
None yet
5 participants