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

Update to @aws-amplify/amplify-appsync-simulator >= 2.8.0 #182

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

a-marcel
Copy link

This PR offers a helper function that backports the new file structure/configuration of amplify-appsync-simulator >= 2.8.0 so that the current serverless-appsync-simulator can work as expected.

It's required to outsource all appsync configurations to an external file. as example serverless.appsync-api.yml. In serverless.yml it's required to link this file in two places:

appSync: ${file(serverless.appsync-api.yml)}

custom:
  appSync:
    - ${file(serverless.appsync-api.yml)}

The external file should be in the new format.

Currently Code (Javascript transformators) are not supported

I deployed to AWS and it works for me as expected.

In addition to the version update, i added some more granular configuration for local development.

#178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant