sid88in / serverless-appsync-plugin

serverless plugin for appsync
MIT License
950 stars 186 forks source link

Is the latest version not compatible with previous configuration? #611

Open zhaoyi0113 opened 1 year ago

zhaoyi0113 commented 1 year ago

After upgrade to 2.3.1, there are a few configuration not read correctly. After reading the source code, I found previously we need to define appSync under custom, but not it is required to be under root level of the yaml file. Also the authenticationType is changed to authentication: { type: ...}.

Based on the doc https://www.serverless.com/plugins/serverless-appsync-plugin, the appSync can be an array but the latest code treats it as an object. How can I deploy multiple appsync API via one yaml file?

SethO commented 1 year ago

There are many breaking changes between v1 & v2. This upgrade guide lists all the steps required.