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:
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
. Inserverless.yml
it's required to link this file in two places: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