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

not work with new version of serverless-appsync-plugin #178

Open
marwenlandoulsi opened this issue Mar 2, 2023 · 6 comments
Open

not work with new version of serverless-appsync-plugin #178

marwenlandoulsi opened this issue Mar 2, 2023 · 6 comments

Comments

@marwenlandoulsi
Copy link

Describe the bug
We can not run the project locally after upgrade of serverless-appsync-plugin to v2

"serverless": "3.28.0", "serverless-appsync-plugin": "^2.0.0", "serverless-appsync-simulator": "^0.20.0", "serverless-offline": "12.0.4"

@bboure
Copy link
Member

bboure commented Mar 2, 2023

Hi,

Sorry, v2 of the serverless-appsync-plugin is not compatible.
Unfortunately, I have no plans in supporting it.

Instead, I'd like to move towards a solution where serverless-appsync-plugin provided a built-in solution to push code to the cloud faster (something like CDK hotswap, or SAM accelerate)

@Sebas1245
Copy link

Are there currently any alternatives to enable local testing when using serverless-appsync-plugin?

@sparksterz
Copy link

Describe the bug We can not run the project locally after upgrade of serverless-appsync-plugin to v2

"serverless": "3.28.0", "serverless-appsync-plugin": "^2.0.0", "serverless-appsync-simulator": "^0.20.0", "serverless-offline": "12.0.4"

I've upgraded to v2 - you should still be able to use the appsync simulator fine. They currently use different appSync definitions. in v2 the appSync definition has been moved to the root level. For this simulator you can keep it in the custom:appSync level. It's obviously a bit more messy and isn't a true 1:1 representation necessarily, but it's good enough for testing purposes generally.

@plezan
Copy link
Collaborator

plezan commented Jan 24, 2024

We just released a new beta version that added support for serverless-appsync-plugin v2

@adamduren
Copy link

@plezan thank you and the other contributors for your work on this. We have tried out the beta and in our case it appears to work just fine. All of our ~50 resolvers are Lambda Unit Resolvers with some configured as Batch Resolvers if that's helpful.

@plezan
Copy link
Collaborator

plezan commented May 2, 2024

Thanks for your feedback !
It's nice to know it works well for other teams as well.

I will try to update a few dependencies before releasing this beta

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

No branches or pull requests

6 participants